Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP change PHP version

Tags:

php

xampp

I am working on an older project that uses functions not supported by the newer PHP version included in my version of XAMPP.

I want to temporarily change to an older version of PHP, so I'm looking for a way to switch between PHP versions in XAMPP.

Unfortunately, refactoring to use the newer version of PHP is not an option.

like image 728
Ahmed-Anas Avatar asked Sep 30 '12 14:09

Ahmed-Anas


People also ask

How do I change my PHP version?

Select the blue ADMIN button associated to your server. for your desired site, and then select Settings. Under Production Site, locate the PHP version, and then select Change. Select the desired PHP version from the dropdown, and then select Save Changes.


1 Answers

I would not dare to 'temporarily' shift my development machine.

I would suggest installing a virtual machine manager like VirtualBox and then install a older version of XAMPP in there.

like image 94
JvdBerg Avatar answered Oct 04 '22 21:10

JvdBerg