Multiple XAMPP installations on one machine

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

Multiple XAMPP installations on one machine

Postby Chalisque » 06. May 2012 08:16

I have lampp up and working under Ubuntu 12.04. I would like to have a separate lampp installed in a different folder in /opt (e.g. /opt/lampp2) with its own database and files, so that I select between them by choosing which lampp command to run. I untarred the file ok, and ran lampp ok, but mysql still goes to the same database. How to I get separate databases for separate installations (i.e. is /opt/lampp hardwired in some config files that need changing)?

Thanks for any help.
Chalisque
 
Posts: 2
Joined: 06. May 2012 08:11
XAMPP Version: 5.6.3
Operating System: Ubuntu 12.04

Re: Multiple XAMPP installations on one machine

Postby Chalisque » 06. May 2012 08:25

Bashing myself over the head for not thinking of it sooner.

Quick solution:

Install each lampp in /opt/lampp.1, /opt/lampp.2 etc. and have /opt/lampp be a symbolic link. Change the symbolic link and launch from /opt/lampp.
Chalisque
 
Posts: 2
Joined: 06. May 2012 08:11
XAMPP Version: 5.6.3
Operating System: Ubuntu 12.04

Re: Multiple XAMPP installations on one machine

Postby anakinsge » 22. October 2012 23:21

Hello

I need to do the same thing on my ubuntu. But I am not as experienced a you. In fact I am a newbie at this.
First Question:
I installed successfully my first lampp. How should I untar for the second installation. If I use:
Code: Select all
tar xvfz xampp-linux-1.8.1.tar.gz -C /opt

My files will get overwritten
If i use:
Code: Select all
tar xvfz xampp-linux-1.8.1.tar.gz -C /opt/lampp2

I am sure it will install on opt/lampp2/lampp. Which I looks awful.

Another question if I already have first lampp working correctly, can I change it to lampp.1 as suggested with out any other problems?
Also what is that symbolic link you talk about?

Thanks
anakinsge
 
Posts: 3
Joined: 22. October 2012 23:10
XAMPP Version: 5.6.3
Operating System: Ubuntu

Re: Multiple XAMPP installations on one machine

Postby little_holly » 16. April 2014 11:33

Very late reply, but maybe others who are looking for the sam thing are ending up at this forum, too.

I was looking for the same problem and the information on this website seems to be
helpful.
http://meows.us/my-life/running-multiple-versions-of-xampp-on-ubuntu-linux/
little_holly
 
Posts: 4
Joined: 02. June 2005 10:27


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 10 guests