How to upgrade php version on Windows 10
This means you have yet another installation of PHP
in your system. Check your Programs
in Control Panel
and remove such installation.
However, you can modify your PATH
environment variable as well. Procedure
Just remove the path that points to any PHP
installation directory.
Else, otherwise, if you are unsure about changing the PATH
variable (which can lead to serious problems if not set well), you can just delete the directory that the PATH
variable points to.... (I mean the PHP
directory)
The totally better solution is to add the path of your PHP7
bin directory at the beginning of the PATH
variable. You should also make available composer
in this PHP7
bin directory.
Such as, replace the C:\php
in your path with C:\wamp\bin\php7
or whatever the location of the PHP7
path is..