Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Vagrant
and inside there is already a server of exactly the right version for a specific task
I'll make a reservation right away that I'm not a Mac OS X user (I have Linux).
But for development, in most cases, I use the built-in PHP server .
If you need to exactly repeat the entire stack - then Docker/qemu-kvm/VirtualBox (or what do you have in Mac OS X?) to help.
PS The sooner you figure out how your stack works instead of trusting ready-made assemblies, the easier it will be for you to work further.
To launch projects on a poppy, I somehow used Valet , inside nginx and DnsMasq, it’s convenient to raise projects locally with normal hostnames, and put php and mysql through brew install next to me
I used to use Vagrant + PuPHPet to generate configs, but I didn't really understand how it works.
The next step was to move away from PuPHPet and towards self-written Vagrantfiles for projects. (which is logical - at least a somewhat complex project, whatever one may say, will require some kind of refinement with a file)
Now he has finally left Vagrant towards Docker. The
advantages of these tools are that any person in the team has exactly the same local environment (with which you can also work under any OS). Docker can also be deployed to a production server, then production and local will not differ either. And again, do not litter the system with garbage for each project - everything is placed in containers / virtual machine.
It is desirable to forcibly turn off any MAMP / Open Server / Denwer and figure out how our stack actually works, without hiding the implementation. It is more difficult, but if there is a desire to grow, it will give much more benefits than problems.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question