Well, If your are a php developer and you are comfortable to run php projects by using XAMPP, then it is very useful tutorial for you.
You may need to work different project which have seperate PHP version. It can be version like php 5.6, php 7.0 or may be php 8.0. But by default XAMPP only have one php version. So, we will discuss how can we use multiple php version by using Xampp.
First go to this website and download your desire xampp version file. Don't download Installer or Portable version. Download zip version. Example: xampp-windows-x64-7.2.34-2-VC15.zip. PHP version will be mention like 7.2.34 .
Now go to your old xampp folder. you will see a folder name php , rename the folder like phpold.
Now go the folder you just download. you will see php folder. Copy the php folder and paste it to your old xampp folder. you can use as much as php version as you want. While using your desire php version make sure the folder name will be php.
Note: The best option is using WAMPP and Laragon , you can choose php version by clicking the checkbox.
