Two Xampp in the computer

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

Two Xampp in the computer

Postby Carllewis » 28. March 2016 18:43

Hi!

It is possible to have two versions of Xampp on my computer, I need to use the current xampp and also use the php version 7 for learning purposes.
Can anyone give me some light on this?
Thank you,

Carlos
User avatar
Carllewis
 
Posts: 2
Joined: 28. March 2016 18:34
Operating System: Windows 7 and Linux Debian

Re: Two Xampp in the computer

Postby Altrea » 28. March 2016 19:18

Hi Carlos,

Yes, this is possible. But there is one limitation:
You cannot run two processes on the same ports simultaneously.
So either you stop the first xampp every time you need to start the second one or you need to change the default ports of one of them (with all the sideeffects this causes).

best wishes,
Altrea
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Two Xampp in the computer

Postby Carllewis » 28. March 2016 19:44

Thanks Altrea.

Best wishes,
Carlos
User avatar
Carllewis
 
Posts: 2
Joined: 28. March 2016 18:34
Operating System: Windows 7 and Linux Debian

Re: Two Xampp in the computer

Postby Nobbie » 29. March 2016 11:52

Carllewis wrote:I need to use the current xampp and also use the php version 7 for learning purposes.


It is also possible to run only one Xampp and to have two (or even more) different PHP versions at the same time. That can be established with the help of VirtualHosts, for each VirtualHost you may define another PHP Version in CGI Mode. That gives you the opportunity to run the same file in two different environments.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Two Xampp in the computer

Postby DaoVanTrong » 29. March 2016 12:04

Simple! change port :D
Regards,
Trong
User avatar
DaoVanTrong
 
Posts: 6
Joined: 13. March 2016 20:02
Operating System: Windows


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests