Upgrading PHP in XAMPP for Windows?

Stanley Ngumo picture Stanley Ngumo · Jan 28, 2010 · Viewed 382k times · Source

I would like to know how you upgrade PHP in Xampp for Windows? I tried to download the latest PHP version from the main PHP site but when I check (phpinfo) I still get that the previous version is still in use.

Answer

s-sharma picture s-sharma · Jan 28, 2010

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.