T
T
The_end2015-09-25 02:08:29
PHP
The_end, 2015-09-25 02:08:29

Rate apache config + fastcgi + php-fpm + opcache, who tried it?

who tried apache config + fastcgi + php-fpm + opcache, share your experience - what about performance?
When php-fpm is installed on Apache.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
ShamblerR, 2015-09-25
@The_end

Let's put everything in its place.
nginx+apache two-level configuration:
nginx+php-fpm is a must have but one-level config is great speed, except for a separate balancer for statics. There are a number of advantages regarding FastCGI, for example, there is no hemorrhoids with 503 because it is a module of nginx itself and the latter easily sees the dead process. It is required to rewrite all .htaccess in servers nginx
nginx as frontend and apache+fast-CGI +opcache as backend
Practically classic, but opcache is recommended to be used with php5.5, below goes as an extension.

P
Puma Thailand, 2015-09-25
@opium

What's the point of php-fpm? If php as an apache module will work faster
when with nginx, then it’s understandable, but here is some kind of idiocy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question