Answer the question
In order to leave comments, you need to log in
Why does php -v show the old version?
I set PHP 5.6 in the OpenServer settings. Going into PHPInfo gives out 5.6.3. There is an error like this when using Laravel 5
Problem 1
- This package requires php >=5.5.9 but your PHP version (5.4.35) does not satisfy that requirement.
Answer the question
In order to leave comments, you need to log in
It also happens that you have Composer installed, and during installation it requires you to specify which version of php to associate it with, and accordingly makes this version global. Those. when changing the php version, you should also reinstall composer.. (this was the case for me. windows 10 + openserver)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question