I have already use WAMP 2.5 with PHP 5.5.12, and with Composer.
The php is on:
C:wampinphpphp5.5.12
For new project, I need to use nginx and installed PHP 7.
The php is on:
C:
ginxphp
Now, using GitBash MINGW32, I tried to install laravel 5.3 using Composer create-project
but it said
[InvalidArgumentException]
Could not find package laravel/laravel with version 5.3 in a version
installable using your PHP version 5.5.12.
I already put both C:wampinphpphp5.5.12
and C:
ginxphp
on Windows System PATH variable.
How do I change the PHP version used by Composer?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…