How to install Different PHP version on same PC ?
- Download Xampp different version form below link.
- Install it and start XAMPPA controller after that run Apache and Mysql .
- Put echo phpinfo() function into your index file;
- Run localhost.
- Step 6 change the name of install Xampp folder to something else.
- Download the other version and run the step 1 to 5 again.
You have two different version on your PC.