xampp change php version downgrade code example
Example 1: update php version in xampp
Take a backup of your htdocs and data folder (subfolder of MySQL folder), reinstall upgraded version and replace those folders.
Note: In case you have changed config files like PHP (php.ini), Apache (httpd.conf) or any other, please take back up of those files as well and replace them with newly installed version.
Example 2: xampp downgrade php
xampp-win32-5.6.37-0-VC11.zip