Skip to content
Advertisement

Upgrading PHP in XAMPP for Windows?

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.

Advertisement

Answer

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.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement