I´m working on Windows 7 and I have 2 Xampp installations:
- One with PHP 5.6.24
- Another with PHP 7.2.2
I have tried starting each Xampp individually and phpinfo()
gives me the correct PHP version, but if I do php -v
I always get that the PHP version is 6.6.24
This is causing the installation issue that shows the following output:
[InvalidArgumentException] Could not find package symfony/skeleton with stability stable in a version installable using your PHP version 5.6.24.
Is there a way of indicating the OS which PHP version to use? I was thinking that perhaps using environment variables could be the solution.