T
T
Tupolev2016-06-05 14:15:56
Windows
Tupolev, 2016-06-05 14:15:56

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

6 answer(s)
D
Dimonchik, 2016-06-05
@dimonchik2013

virtualbox / vmware only

A
Alexey Ukolov, 2016-06-05
@alexey-m-ukolov

Vagrant or Docker ftw.

V
Vladimir Grabko, 2016-06-05
@VGrabko

here it was necessary to write WINDOWS in capital letters, and not several. Under Windows, everything is very bad. Switch to Linux.

T
Tupolev, 2016-06-05
@Tupolev

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! =)

A
Alexander Slyzhuk, 2016-06-06
@SLYzhuk

For example: using Denver, register a separate port for each copy: 80, 81,82,83 or 8080,8081,8082, etc.

I
Igor Frolov, 2016-11-08
@it-plast

Use WDSP
it has several versions of php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question