Two instances / two PHP versions

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Two instances / two PHP versions

Postby tomasr » 22. October 2018 10:52

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.
tomasr
 
Posts: 2
Joined: 22. October 2018 10:27
XAMPP version: 5.6.36
Operating System: Linux mint 18

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 67 guests