Answer the question
In order to leave comments, you need to log in
Why is there no gain after switching to php-fpm from regular php?
Actually did a test on ApacheBenchmark before and after. The difference is insignificant.
And there is also such a strange feeling that php-fpm does not keep the code of included files in memory, because. when changing the code of the file, the changed result is displayed, and in theory the old one (loaded earlier) should be displayed.
There is a /etc/init.d/php5-fpm reload command for reloading, but it is essentially not needed.
Or I forgot to specify some parameter in the configuration?
Answer the question
In order to leave comments, you need to log in
I recommend 5.3.4 from svn, build with -disable-all and include only the necessary modules, as needed. Don't forget apc - the latest version already works well with fpm. Well, and optimization of the assembly for your platform.
RTFM php-fpm.org/wiki/FAQ
Does the PHP-FPM to speed processing of requests?
No, it doesn't really change anything. However, if you use some of the special features, the performance of certain queries can be accelerated.
And also such a strange feeling that php-fpm does not keep the code of included files in memory
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question