Page 1 of 1

Two Xampp in the computer

PostPosted: 28. March 2016 18:43
by Carllewis
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

Re: Two Xampp in the computer

PostPosted: 28. March 2016 19:18
by Altrea
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

Re: Two Xampp in the computer

PostPosted: 28. March 2016 19:44
by Carllewis
Thanks Altrea.

Best wishes,
Carlos

Re: Two Xampp in the computer

PostPosted: 29. March 2016 11:52
by Nobbie
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.

Re: Two Xampp in the computer

PostPosted: 29. March 2016 12:04
by DaoVanTrong
Simple! change port :D