Archive

Archive for December, 2012

XAMPP : multiple version on same computer

December 28, 2012 Leave a comment

I wanted to have at least 2 xamp installed on my computer. Why ? To be able to work on a new version of my web site, meanwhile having a copy of the current version on another server.

So I installed a second XAMP on my computer. I copied all the files from my remote server to the new XAMP, .. I thought it was that easy.
In fact, it should be. I would even say, it must be.

But there was a problem. When I connected to phpmyadmin on the new installed xampp, it displayed the content of the database of the first installed xampp… dirty hey ?

After a bit of search, I found how to solve that problem and have at least two distinct xamp installations my computer.

On the Xampp Control Panel, there is a “Setup Button”, I clicked on it.

xamp1

I ended up on a black command line window. It displayed a menu.
The second choice in the menu solved my problem : relocate XAMPP

wampp2

It did relocate my Xampp automatically !