D
D
Dmitry Tarasov2017-11-22 20:25:57
macOS
Dmitry Tarasov, 2017-11-22 20:25:57

How to set up a web server with virtual hosts on a mac?

How to set up a web server with virtual hosts on a mac?
I'm sitting under a poppy, there was a mamp server for development,
then I needed virtual hosts, I was tormented by putting everything separately in a bunch of apache nginx php mysql
As a result, I deleted everything
I want to develop sites locally, and several projects at once.
And then some projects will move to vps.
I need a web server with nginx + apache + php + mysql applications on ubuntu
I wanted docker, but I doubt something and I don’t have enough experience and knowledge about it, what is it and how?
I asked a question about the docker in a telegram chat, they started to holivar.
Some say either docker is everywhere or nowhere.
Lost performance in 10-15 percent.
How true is all this? What to choose so that later you don’t have problems, and if you have very few (insignificant)
Where to run, what to do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Vorotnev, 2017-11-22
@HeadOnFire

So Laravel Homestead
Pluses: - project files on your
non-virtual macos, they are mapped
into a virtual machine - everything else is isolated on a virtual machine
- there is ubuntu, nginx, different versions of pehape and all that stuff
- and also a lot of goodies like blackfire, xdebug, mailhog, the ability to share your dev environment, and so on
- if you wish, all this is additionally scripted to fit your personal fantasies

M
Mikhail Osher, 2017-11-22
@miraage

I wanted docker, but I doubt something and there is not enough experience and knowledge about it, what is it and how?

I use docker for local pgsql/redis, I run php through the built-in server from the host. Of course, if the conditions do not force me to raise nginx, which I also run along with fpm via docker.
For laravel/symfony projects, it's enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question