Answer the question
In order to leave comments, you need to log in
WINDOWS. How convenient is it to organize MULTIPLE Local web servers on Windows with different versions of PHP, Apache, MySQL, etc.?
Installing a local web server to work on customer sites was not a problem - so far I worked with one hosting. Now there is a need to work with different hosting and old sites. In order not to stumble out of the blue, it is logical (maybe wrong, tell me) to install the same software versions on the local server as on the hosting of the working site (apache, php, mysql, etc. if necessary). In this case, it will be possible to transfer the work done to the working site by simply copying the files and dumping the database.
Need some advice on how to do this. In order to do the necessary for half an hour for one project, it will quickly switch to another, which already needs a web server (apache / php) of a different version.
For example, in the finished XAMMP assembly, there is a launchable assembly admin panel, where you can conveniently start and stop the necessary services with buttons. I’ll try to get in there, I don’t think that there is a tricky code, and remake it for myself. But maybe there are already ready-made successful solutions?
And in general, the opinion of a freelancer brother on the optimal organization of work in this area is of interest.
Answer the question
In order to leave comments, you need to log in
here it was necessary to write WINDOWS in capital letters, and not several. Under Windows, everything is very bad. Switch to Linux.
Stopped my search on virtual machines (VMs).
I'll start with the popular Vagrant + Virtualbox bundle .
The VM allows you to quickly create an exact copy of the production environment, which can be quickly loaded, which is exactly what I need in the first place!
VM provides many new features. There are inconveniences regarding performance, but these are trifles. In particular, VM is one of the options for mastering linux. =)
Thanks for the tip! =)
For example: using Denver, register a separate port for each copy: 80, 81,82,83 or 8080,8081,8082, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question