Closed shopapps closed 7 years ago
So I fixed this, it seems that although MAMP is configured to use php in terminal it does not work fully... I used the info from here: http://stackoverflow.com/questions/4145667/how-to-override-the-path-of-php-to-use-the-mamp-path
and essentially did:
sudo nano ~/.bash_profile
Paste in:
# Use MAMP version of PHP
PHP_VERSION=`ls /Applications/MAMP/bin/php/ | sort -n | tail -1`
export PATH=/Applications/MAMP/bin/php/${PHP_VERSION}/bin:$PATH
Then do:
source ~/.bash_profile
and the command now works
Hi,
I have an issue where if i try to use the --parallel option i get an error:
php --ri pcntl and /Applications/MAMP/bin/php/php7.0.12/bin/php --ri pcntl return:
pcntl
pcntl support => enabled
any thoughts as to why I might be seeing this error?
many thanks..