Page 1 of 1

How to use xampp as a portable

PostPosted: 24. May 2010 08:05
by yethwa
Hi,
i want to use 3 projects with xampp, but I can use only 1 on the PC. When I want to run another xampp I get directory mismatch error. I know that I can change install dir in the registry but it is so complex. What can I do to run different xampp project on the same comupter? Why xampp isn't really portable and uses registry?

Re: How to use xampp as a portable

PostPosted: 24. May 2010 09:14
by Nobbie
yethwa wrote:i want to use 3 projects with xampp, but I can use only 1 on the PC.


Use VirtualHosts to run 3 projects under one Xampp.

Re: How to use xampp as a portable

PostPosted: 24. May 2010 09:25
by yethwa
I want to use 3 different installations of xampp.

Re: How to use xampp as a portable

PostPosted: 24. May 2010 10:23
by Altrea
- download the zip-version of the XAMPP-Package you want
- unzip it in the root directory of your HDD
- copy this folder two times in the root-directory too.
- give each of them a new folder name
- run each of the setup_xampp.bat files in all three folders

if you want to run all three xampp-packages at the same time:
- change the ports for Apache http, Apache SSL, MySQL (give each instance his own unique Ports)

Re: How to use xampp as a portable

PostPosted: 24. May 2010 13:25
by yethwa
Well, works now, but I still get directory mismatch errors which I ignores. Thanks.

Re: How to use xampp as a portable

PostPosted: 24. May 2010 16:44
by Altrea
The file setup_xampp.bat in each xampp folder should relocate your xampp-installation-path.
in some cases, that doesn't work as expected.
Maybe you had to change the paths on your own.