Answer the question
In order to leave comments, you need to log in
What web server to use?
On the Internet, there are mainly instructions for raising the server with apache (lamp / xampp). But on the toaster it is constantly advised to use nginx. Sometimes nginx+apache. So what to choose?
1. For production server.
2. For local testing and project development.
Thanks in advance for your informative response!
Answer the question
In order to leave comments, you need to log in
I strongly advise you to make a choice yourself, it will help in this: habrahabr.ru/post/267721 . And in the future, if you are asked why you chose this or that, you will be able to justify, and not answer: "because it was advised on the toaster"
1) Nginx + php-fpm
2) The test should be the same as in production, that is, Nginx + php-fpm
There is no good reason to add Apache, only if some specific modules are needed
Now it is very fashionable to do it completely on nginx + php-fpm.
Personally, I'm satisfied with the nginx + apache option, where nginx proxies statics.
Read the comments here:
habrahabr.ru/post/267721
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question