
Start the Apache server in XAMPP by running the following command:.Note: Replace with the actual path to the folder where you extracted the PHP files.You can do this by running the following command: Copy the extracted PHP files and folders from the temporary folder to the XAMPP “php” folder.Rename the existing PHP folder to create a backup.Navigate to the XAMPP “php” folder by running the following command:.Stop the Apache server in XAMPP by running the following command:.On Windows, you can do this by typing the following command and pressing Enter: Open a terminal window and navigate to the XAMPP installation directory.You can upgrade PHP version in XAMPP using the terminal by following these steps: Method 2: To upgrade/update PHP version in XAMPP on windows using cmd Open a web browser and go to “ to verify that the new version of PHP has been installed and is working correctly.Start the Apache server in XAMPP by clicking on the “Start” button in the XAMPP Control Panel.Copy the extracted PHP files and folders from the temporary folder to the “php” folder in XAMPP.

Rename this folder to “php_old” to keep a backup of the existing PHP installation.

Download the latest version of PHP that is compatible with XAMPP from the official PHP website.To upgrade PHP in XAMPP, you can follow these steps: Method 2: To upgrade/update PHP version in XAMPP on windows using cmd Method 1: To upgrade PHP in XAMPP by Download Latest PHP.Method 1: To upgrade PHP in XAMPP by Download Latest PHP.There are two ways upgrade php version in xampp on windows is as follows: How To Upgrade/Update PHP Version In XAMPP On Windows To upgrade PHP version in xampp on windows Through this tutorial, you will learn two ways to upgrade/update php version in xampp on windows.
