Page 1 of 1

Two instances / two PHP versions

PostPosted: 22. October 2018 10:52
by tomasr
Hi everybody,
I am looking for solution for manage two PHP versions (5.3.6 and 7.1) in xampp a few days. I do not care if I will have 2 PHP versions in one xampp or 2 xampp installations with own PHP version, but I prefer two xampp instances.

I like this solution https://github.com/rafaelphp/lampp_switcher, where you have two installations. But can't manage it, becasuse many configs (php.ini for example) expect path in /opt/lampp, so change path to /opt/lampp5 or /opt/lampp7 is not possible. What more, lampp_switcher.sh expect /opt/lampp to and xampp folder in it. Iis something what I understood badly?

Other solution https://github.com/amitpoonia404/xampp-switcher, is easier, but don't work as well.

Maybe is not problem these switchers, but directly two installations. When I launch xampp controller from /opt/lampp5 (or /opt/lampp7), in controller are not displayed any servers Image.

I will be grateful for the advice that will help me.