It appears as all php artisan
commands called from within composer.phar get this error. I solved this by adding explicit path to php 5.6 in composer.json.
The question I'm asking myself is why compoer.phar runs on php 5.4 while all other http and ssh scripts have php 5.6?
al1357 said:
It appears as all
php artisan
commands called from within composer.phar get this error. I solved this by adding explicit path to php 5.6 in composer.json.
I know this is old now, however can you explain how you added an explicit path to PHP 5.6? I think I need to do this to get Composer to work. I can't find the information I need via Google.
For the record I got this working calling the full path to php-cli as well. I'm using a vps at SiteGround and this did the job:
/usr/local/php54/bin/php-cli composer.phar
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community