W
W
WenSiL2018-05-03 16:53:36
PHP
WenSiL, 2018-05-03 16:53:36

The meaning of the Nginx + Apache + PHP bundle?

Somewhere on Habré I read that a bunch of Nginx + Apache + PHP is very cool, but why? Isn't it easier to leave only Nginx + PHP, because nginx is faster than apache, and in such a bundle, apache can become a bottleneck? What is the advantage of Nginx + Apache + PHP over Nginx + PHP?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2018-05-03
@WenSiL

Nothing has been cooler for a long time. There are no obvious advantages at all.
Apache is relevant only for shared hosters, because you can upload .htaccess to the site and thereby change the configs for each one individually. Those. for servers where there are stopitsot sites with different config.

S
Sanes, 2018-05-03
@Sanes

For Apache Shared Hosting. Well, for beginners too.
Those who advise Nginx + PHP-FPM will then tell you how to write rules in .htaccess for various blocking, redirects, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question