Why is there no growth after switching to php-fpm with normal php?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/code-flow.club/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
5 views
Actually did a test ApacheBenchmark before and after. The difference is insignificant.
And such a strange feeling that php-fpm does not keep code sincluding files in memory, because when you change a code file that displays the modified result, and the idea is to display older (previously downloaded).
To reboot there is a command /etc/init.d/php5-fpm reload but it is in fact not needed.
Or I forgot some parameters in the configuration to specify?
by | 5 views

4 Answers

0 like 0 dislike
recommend 5.3.4 from svn, collect -disable-all and enable only the specified modules, as needed. Don't forget apc is the latest version already works well with fpm. Well, build optimization under your platform.
by
0 like 0 dislike
RTFM php-fpm.org/wiki/FAQ
\r
\r

Does the PHP-FPM to speed processing of requests?


\r
No, it does not really change anything. However, if you use some of the special features, the performance of certain queries can be accelerated.
\r
by
0 like 0 dislike
And such a strange feeling that php-fpm does not keep code sincluding files in memory

Hmm... at least the standard php so they do not hold. And php-fpm needs?
I have a php opcode cache was only if you are using any caching system kind of WinCache or eAccelerator. Then measurements of the speed include began to be noticeably faster, and source changes may not be immediately applied.
by
0 like 0 dislike
Any growth in front of mod_php you do not get. Just memory savings.
by

Related questions

0 like 0 dislike
5 answers
0 like 0 dislike
5 answers
0 like 0 dislike
3 answers
asked Apr 5, 2019 by polyanin
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
22,537 users