update php windows command line code example

Example 1: php version not update after windows env file

You can uninstall composer, and while re-installing it will ask you to point 
at your PHP directory which is going to be C:\wamp64\bin\php (usually) at 
that point you can choose which PHP version you would want to use. good 
luck.

Example 2: update php version windows

Take a backup of your htdocs and data folder (subfolder of MySQL folder), reinstall upgraded version and replace those folders.

Note: In case you have changed config files like PHP (php.ini), Apache (httpd.conf) or any other, please take back up of those files as well and replace them with newly installed version.

Tags:

Php Example