Using multiple versions of XAMPP

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

Using multiple versions of XAMPP

Postby Dave_L » 30. January 2007 18:41

I'd like to install the new version of XAMPP, but keep the old version as well, since the PHP and MySQL components of the old version correspond more closely to one of the web servers I use.

Here's the method I'm planning:

Move old version to /opt/lampp_1.4.9a
Put new version in /opt/lampp_1.5.5a
Create a symlink /opt/lampp that points to one of above directories.

Then I can switch between the versions as follows:

# /opt/lampp/lampp stop
Change the symlink /opt/lampp to point to the other directory.
# /opt//lampp/lampp start

Do you see any problem with this?
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

Postby Wiedmann » 30. January 2007 18:44

Should work.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Dave_L » 30. January 2007 18:51

Thanks :)

Since I also use XAMPP on Win2k and WinXP, do you think a similar method would work with Windows too? I can repost this question in the Windows forum if you like.
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

Postby Wiedmann » 30. January 2007 19:02

do you think a similar method would work with Windows too?

Easier the with Linux. Because you must not make Symlinks. Just stop the one and start the other.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Dave_L » 30. January 2007 19:25

Thanks again. :D
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

Symlink?

Postby nachokidd » 31. January 2007 02:03

I got it to work on Windows because it's easy and I know Windows but am new to Linux an I have been trying to figure out how to do this on linux. what is a symlink and how do I use it to change back and forth between versions? Thanks in advance for your assistance.

Al
nachokidd
 
Posts: 1
Joined: 31. January 2007 01:58

Postby Wiedmann » 31. January 2007 02:12

Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 15 guests