Running XAMPP without installing from a folder

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

Running XAMPP without installing from a folder

Postby appyape » 14. February 2015 13:27

I need to have multiple php versions on my local Windows 8 machine so I have downloaded .zip file of XAMPP 5.6.3 ... I have renamed the folder to Xampp-php-5.6.3. When I try to Start the Apache or MySQL it doesn't start. After a bit of look around - I opened httpd.conf and noticed that the ServerRoot was set to /xampp/apache - I changed this to /xampp-php-5.6.3/apache. I then opened up mysql.exe and I can see the folder name is /xampp/....

I can manually change all these values in httpd.conf and my.ini but I need to know what other files need modifications??

or is there any other simpler way to achieve what I am doing?

I already have php5.3 and php5.4 working this way but I can't remember how I got them working. any help will be appreciated. thanks
appyape
 
Posts: 9
Joined: 13. September 2014 12:57
Operating System: Windows

Re: Running XAMPP without installing from a folder

Postby Nobbie » 14. February 2015 13:32

appyape wrote:I need to have multiple php versions on my local Windows 8 machine so I have downloaded .zip file of XAMPP 5.6.3


A few days ago i wrote a german posting here in this forum which exactly explains how to do so (but its german), without the hassle of renaming the Xampp installation. The idea behind my solution is based on using different VirtualHosts for different PHP Versions within one and only one Xampp installation:

viewtopic.php?f=4&t=67753&start=15#p240553
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: Running XAMPP without installing from a folder

Postby appyape » 14. February 2015 13:43

do these diff php version share single mysql installation?
appyape
 
Posts: 9
Joined: 13. September 2014 12:57
Operating System: Windows

Re: Running XAMPP without installing from a folder

Postby Altrea » 14. February 2015 14:55

It the paths of the installation path is your only problem, simply execute the setup_xampp.bat File which will correct all neccessary paths.

Nobbies explaination is valid too if you want to integrate multiple php versions to one single xampp installation. But this is more The advanced solution
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: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Running XAMPP without installing from a folder

Postby appyape » 14. February 2015 15:02

yes Altrea. I actually managed to figure that out that I needed to execute the setup_xampp.bat file to correct the paths. And it works perfectly now.

i have got 3 different xampp versions on my local now with PHP 5.3, PHP 5.4 and PHP 5.6.3 ... happy days! :)
appyape
 
Posts: 9
Joined: 13. September 2014 12:57
Operating System: Windows


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 231 guests