Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Solvando's avatar

Installing Vagrant and Xamp on the same machine

Can I run two separate environments on the same machine like one server with Vagrant and another one with Xampp?

If I have Vagrant for a project and I will install Xampp, there are some interferences at ports? I can install it without broke the vagrant stuffs?

Thank you.

0 likes
4 replies
MarianoMoreyra's avatar

Hi @giorgiovski

You mean two virtual machines, one managed with vagrant and a second independent one with XAMPP?

If that's the case, you shouldn't have any problems as each VM will have it's own IP address, so no ports collisions.

Now, if you are planning to install XAMPP at the same Vagrant VM...you probably won't need to install any additional services, but configure / enable the ones that Homestead provides.

Or you could just have 2 different vagrant instances...

Solvando's avatar

Hello @marianomoreyra ! Thank you for your time. I strictly want Xamp installed directly on my computer to run a project on local and to run another project with Vagrant. The question is if I can open both of them in the same time and there won't be errors.

Thank you.

MarianoMoreyra's avatar

@giorgiovski you won’t have any problems then as the vagrant vm works as a totally separate Server with its own services, IP addresses and ports

Please or to participate in this conversation.