How to use xampp as a portable

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

How to use xampp as a portable

Postby yethwa » 24. May 2010 08:05

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?
yethwa
 
Posts: 3
Joined: 24. May 2010 07:58

Re: How to use xampp as a portable

Postby Nobbie » 24. May 2010 09:14

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.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: How to use xampp as a portable

Postby yethwa » 24. May 2010 09:25

I want to use 3 different installations of xampp.
yethwa
 
Posts: 3
Joined: 24. May 2010 07:58

Re: How to use xampp as a portable

Postby Altrea » 24. May 2010 10:23

- 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)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: How to use xampp as a portable

Postby yethwa » 24. May 2010 13:25

Well, works now, but I still get directory mismatch errors which I ignores. Thanks.
yethwa
 
Posts: 3
Joined: 24. May 2010 07:58

Re: How to use xampp as a portable

Postby Altrea » 24. May 2010 16:44

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 149 guests