WINDOWS. How to organize MULTIPLE Local web servers on Windows with different versions of PHP, Apache, MySQL, etc.?

To put a local web server to work on customer sites was not a problem - while working with one hosting. It was now necessary to work with different hosting sites and old sites. In order not to stumble on level ground, it is logical (maybe wrong, tell me) on the local server to put the same software version as on the desktop site hosting (apache, php, mysql and so on if necessary). In this case, you can move work done on the working site by simple copying of files and a database dump.
Need some advice on how to do it conveniently. To make the necessary for half an hour for a single project quickly switch to another, which is a web server (Apache/PHP) to another version.

For example, in the completed Assembly is run XAMMP admin panel assemblies, where convenient buttons to start and stopit services. Will try to get up there, I don't think there's a tricky code, and to alter under itself. But it may already have good solutions?

Anyway, interested in the opinion of brother-freelancer on the optimal organization of work in this area.
July 8th 19 at 16:43
6 answers
July 8th 19 at 16:45
virtualbox / vmware only
July 8th 19 at 16:47
Vagrant or Docker ftw.
Googled about virtualbox / vmware too - decided to test Vagrant to start. In General, the solution with virtual machines is interesting, can be a lot of other useful applications find.
I will unsubscribe after the test, concerning the solution of my question. - greta.Ernser commented on July 8th 19 at 16:50
July 8th 19 at 16:49
then in big letters it was necessary to write WINDOWS instead of several. Under Windows everything is very bad. Go to the Linux.
Yes, we thought to put the same Ubuntu soar long. Even raised.
Problems arise immediately:
1. You have to spend time mastering Linux. Very many differences, not for ICQ/VK/Google put. My system was eventually successfully screw up a couple of times and restored again Windows =)
2. Windows uses a lot of familiar software such as Photoshop, Illustrator, various text editors for different tasks. All of this should be able normally to put on Linux or to find equivalents.

While stopped on such variant - to buy the 2nd PC and on it to put Linux... also problems enough, just buy a computer fails. You need somewhere to put, to nourish, console, more room, better 2 monitor etc. - greta.Ernser commented on July 8th 19 at 16:52
: yuzayte and then simultaneously the first time. A little get used to Ubuntu. While I've learned 500 times thundered system - greta.Ernser commented on July 8th 19 at 16:55
July 8th 19 at 16:51
Stopped his search on a virtual machine (VM).
Begin with popular chords Vagrant + Virtualbox.

VM allows you to quickly create an exact copy of prodaction environment that can be quickly downloaded that I actually need in the first place!
VM gives many new possibilities. There are disadvantages with regards to performance, but it's the little things. In particular, the VM - one of variants of development of linux. =)

Thanks for the tip! =)
windows still forced to lose a couple of hours. I have a 10-ka. and as usual cant classic - Russian name of the user. as I understood the problem was with VirtualBox. helped quick instructions here - greta.Ernser commented on July 8th 19 at 16:54
July 8th 19 at 16:53
Example: using Denver to register for each copy of the private port: 80, 81,82,83 or 8080,8081,8082 etc.
July 8th 19 at 16:55
it provides multiple versions of php

Find more questions by tags Local serverWindowsWeb Development