I currently have PHP 5.3 in XAMPP. I need to run PHP 5.2 to run Zen Cart 1.8 (I’m aware of the patch – but still doesn’t work). I would prefer to run it in the same XAMPP environent I’m currently running.
Is there a way to do this or do I have to reinstall XAMPP again with PHP 5.2 in another directory or something?
Appreciate all inputs.
You can do it in the same installation, though I personally just run two different servers as it often means different projects altogther. Nevertheless.
The best way to do this is to rename your original PHP package (PHP_OLD or something) and create a new one so you can switch back easily if need be.
Download the version of XAMPP running PHP 5.3 and copy the PHP directory out of XAMPP and don’t forget to grab the 5.3 packages out of xampp/apache/bin (there are about ten of these). You may need to rename some files (or not, can’t remember 100%) but restart XAMPP and give phpinfo() a shot.