/ Published in: PHP
URL: http://stackoverflow.com/questions/954910/using-the-php-cli-with-mamp
Set the correct path to use php cli in Terminal, with Mamp instead of default php installation of Osx.
Expand |
Embed | Plain Text
> export PATH=/Applications/MAMP/bin/php5.3/bin:$PATH or equivalent path of MAMP php installation. On next Terminal session it will use MAMP php executable instead of OSX default (thus enabling the use of cli for use with frameworks and like).
You need to login to post a comment.
