Page 1 of 1

Using multiple versions of XAMPP

PostPosted: 30. January 2007 18:41
by Dave_L
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?

PostPosted: 30. January 2007 18:44
by Wiedmann
Should work.

PostPosted: 30. January 2007 18:51
by Dave_L
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.

PostPosted: 30. January 2007 19:02
by Wiedmann
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.

PostPosted: 30. January 2007 19:25
by Dave_L
Thanks again. :D

Symlink?

PostPosted: 31. January 2007 02:03
by nachokidd
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

PostPosted: 31. January 2007 02:12
by Wiedmann