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.
then in big letters it was necessary to write WINDOWS instead of several. Under Windows everything is very bad. Go to the Linux.
greta.Ernser answered on 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! =)
warren.Kerluke95 answered on 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.