mercredi 13 septembre 2017

MAMP incorrect PHP version

I have MAMP installed and when I start the server I choose PHP 5.6.1, but when I run php -v in terminal in my MAMP/htdocs/project folder it shows 5.5.36 and if I run composer install it throws error

doctrine/annotations v1.3.0 requires php ^5.6 || ^7.0 -> your PHP version (5.5.36) does not satisfy that requirement.

Moreover, if I run it in MAMP/htdocs it shows 5.6.31.

What am I doing wrong and where should I update the PHP?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire