Is there way to use two PHP versions in XAMPP?

We are running XAMPP with PHP 7.0 because our new products requires PHP 7.

But there are old projects which use functions like mysql_connect, etc. Those are removed in PHP 7.0.

So, is there a way to easily change PHP versions in XAMPP?

Note: Please don’t suggest to upgrade old project to compatible with new versions because I am not in a position to do it because of that
decisions I can’t get as a developer (just an employee).

21 Answers
21

Leave a Comment