Search code examples
phpxampp

XAMPP change PHP version


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.


Solution

  • 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.