Answer the question
In order to leave comments, you need to log in
What is apache on the backend for?
Hello.
There is such a popular scheme on the Internet:
Nginx is a frontend with statics, apache is a backend that goes to the database and returns data to the front. I installed php-fpm on the backend, went to the database and returned the data to the front, while not installing any Apaches. What is Apache for then?
Answer the question
In order to leave comments, you need to log in
If you already have nginx + php-fpm, and you don't need any Apache-specific modules, then you don't need Apache either.
For about twenty years, Apache has been and remains the most widespread web server on the Internet. Recently, it has been gradually giving way to nginx, but there are still a huge number of projects for which it is easier to add nginx as an additional layer than to completely abandon apache.
it's all a matter of time and desire to transfer the site completely to nginx. Apache and nginx are mostly crossed only out of laziness to completely transfer the site to nginx, since everything needs to be configured differently there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question