F
F
fedorenko_k2015-06-14 23:20:17
Nginx
fedorenko_k, 2015-06-14 23:20:17

Which bundle is better to choose Nginx+php-fpm or apache+php?

Good afternoon, comrades. At the moment I'm using apache + php, but without setting any settings, from minimum to maximum, I can't get a good result with a quick response from the server, it fluctuates 3-8 seconds and this doesn't satisfy me at all.
Everyone is talking about Nginx+php-fpm and how fast it can load pages.
The server is quite powerful, it eats almost nothing, although Apache has made very large settings.
The total number of users on the site per day: 100,000.
So, the question arises, is it worth going to nginx?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
rdc, 2015-06-15
@fedorenko_k

Moving to nginx is useful anyway, but it won't solve the problem.
The solution to the problem is the optimization of the shitty code. Especially in SQL queries.

S
Semyon Dubina, 2015-06-15
@sam002

Install and configure Nginx right away, it will take you 20 minutes to figure it out. But look for where you have a bottleneck, maybe apache is not to blame.

P
Puma Thailand, 2015-06-15
@opium

apache + mod_php is faster than nginx + php-fpm in the context of one request
, well, it’s probably worth it all the same not to try to tune the server side, but still optimize your shit code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question