How can I set an old version of php in Xampp in localhost?

3

I'm doing a PHP course and there are errors appearing because the PHP version of Xampp is more up-to-date than the PHP version of the course.

Question

    
asked by anonymous 21.10.2015 / 05:46

1 answer

3

The short answer is: Do not do this .

XAMPP is built around a version of PHP to ensure everything comes as it works properly. The most appropriate would be to get a "new" version of it with the version of PHP you want here . (I'm assuming you're in a windows environment)

CHUTE : If you really want to keep your XAMPP version, and only change the PHP version, I think you can download the binaries you want to here , and change them in the PHP folder that is probably in C:\xampp\php , and then change their settings accordingly, but I confess that this should bring more problems than solutions, if this does work. My advice is to download a stable (XAMPP) version.

    
21.10.2015 / 13:47