Timeline for Composer detecting older version of PHP
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 5, 2017 at 6:31 | comment | added | Mike | If that doesn't work, try this answer - askubuntu.com/questions/761713/… | |
Jan 4, 2017 at 10:03 | comment | added | Whip |
I'm not very familiar with this so just want to clear a few things. When I enter whereis php I get the following url /opt/php55/bin/php among other things. So do I have to write $ export PATH=/opt/php55/bin/php:$PATH , Then execute composer install ? Also do I have to restart the entire server or httpd restart would do?
|
|
Jan 4, 2017 at 8:55 | comment | added | Mike | I have had this kind of problem once like old versions in terminal and composer. I have set the path $ export PATH=/opt/lampp/bin/php:$PATH where the path should navigate to the new version. In your case, v5.5. Then I restarted the server and that worked for me. Maybe you should give it a try. | |
Jan 4, 2017 at 8:24 | comment | added | Whip |
php -v returns 5.5.38
|
|
Jan 4, 2017 at 8:22 | comment | added | Mike | What is the exact php version? | |
Jan 4, 2017 at 8:18 | comment | added | Whip | Like I said, I have upgraded to 5.5, it says I have 5.3 | |
Jan 4, 2017 at 8:01 | history | answered | Mike | CC BY-SA 3.0 |