Here is how to easily and successfully upgrade PHP version in XAMPP for windows. It can be done with any XAMPP PHP version of your choice. I upgraded to PHP 7.3.1 from the old 5.6 successuly this way.
Make sure XAMPP is turned off.
First you need to make spare copies and backups of a few folders and files. If you have enough space just do a whole copy of the XAMPP directory (C:\xampp) this is recommended otherwise copy these to a safe place:
And any other configuration files you have altered, if you havent changed the php.ini there is no need to copy. Also this is assuming you’re using htdocs folder as the document root for the web server.
Download the version of PHP packed in XAMPP from here for Windows PHP 7.3.1 go here and download the portable zip file.
Open the downloaded portable XAMPP and drag the contents into C:\xampp overwriting the original files. Once that’s finished drag back in and overwrite:
Or any other files you need from your previous installation.
Start up XAMPP and you will now have a fresh PHP version.
A drained and empty Kennington reservoir images from a drone in early July 2024. The…
Merrimu Reservoir from drone. Click images to view larger.
Using FTP and PHP to get an array of file details such as size and…
Creating and using Laravel form requests to create cleaner code, separation and reusability for your…
Improving the default Laravel login and register views in such a simple manner but making…
Laravel validation for checking if a field value exists in the database. The validation rule…