Issue
I’m using mac os and install MAMP 5.7. when I run PHP -v on the terminal it says PHP version is 7.2 but when I try to create Laravel project I got this error. I don’t know why the composer recognizes that the PHP version in 5.6
Solution
Please check the following this may fix the problem
- check the alias given to composer to point to appropriate version
- try uninstalling or upgrading your Mammp or your verserver and remove cache data.
- if you change php version in command line. check it after restart of your PC
Answered By - Ali Mashl
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.