How to downgrade php from 7.1.1 to 5.6 in xampp 7.1.1?
I want to downgrade php version from 7.1.1 to 5.6 in xampp 7.1.1. But I can’t find any option.
Steps to downgrade PHP version
I think the most safest downgrade path from PHP7 to PHP5 in Xampp is:
- Download a self-packaged version of Xampp with PHP5 from here (as of today this is
- Rename the
- Now copy the
xampp-win32-5.6.37-0-VC11.zipinto your Xampp install folder.
- Make a backup from
- Replace this file from
- This way the config files (including
php.ini) has settings from the Xampp team.
- Before any changes, to verify changed Apache configs, you can compare both Xampp release folder at
.\xampp\apache\confwith tools like Meld.
- I should note that please download PHP 5 and 7 Xampp packages released at the same time.
Full story is, visit SyntaxFix