rocketeers / rocketeer

Send your projects up in the clouds
http://rocketeer.autopergamene.eu/
MIT License
2.66k stars 217 forks source link

parallel command and rocketeer not detecting pcntl #715

Closed shopapps closed 7 years ago

shopapps commented 7 years ago

Hi,

I have an issue where if i try to use the --parallel option i get an error:

[Exception]
  Parallel jobs require the PCNTL extension

any thoughts as to why I might be seeing this error?

many thanks..

shopapps commented 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