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.Before we start, there are a few things worth mentioning.
I renamed my current XAMPP at C:\XAMPP to C:\XAMPP ORIG so that I could install the newest version of XAMPP at C:\XAMPP but still have my app's data and original version in case something went.
I was scared after I installed the newest XAMPP and saw that it "overwrote" my XAMPP ORIG - on my C: drive, there was only C:\XAMPP - but relieved when my htdocs and mysql\data was in the new, updated version of XAMPP.
My reason for posting this article is that Easy PHP server has stuck any upgrade components behind a paywall, or ‘warehouse’ as they call it, which costs $10/year, which seems crazy when it’s so easy to do yourself.
This guide should work for other servers running on windows as well, you’ll just need to modify certain steps depending on how your specific set up is configured.
This is needed, because new versions of PHP might have new configuration settings, or new recommended settings, so you should take any configurations from your old settings and apply them to the new file instead of just using the old one in place.