The default settings were used for php-fpm.
For event ...
<IfModule event.c>
StartServers 3
MinSpareThreads 20
MaxSpareThreads 25
ServerLimit 16
ThreadsPerChild 16
MaxRequestWorkers 256
MaxConnectionsPerChild 0
</IfModule>
From: Daniel <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Date: Tuesday, January 12, 2016 12:00 PM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: Re: [users@httpd] Circumstances when mod_php would run faster than
PHP-FPM?
What is the configuration in both cases? php-fpm pool included. How did you
measure?
El lun., 11 ene. 2016 a las 22:52, Rose, John B
(<[email protected]<mailto:[email protected]>>) escribió:
After switching to mod_php from php-fpm we are told the site is working 4x
faster using mod_php instead of php-fpm.
Any explanation?
Thanks
From: William A Rowe Jr <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Date: Saturday, January 9, 2016 1:58 PM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: Re: [users@httpd] Circumstances when mod_php would run faster than
PHP-FPM?
Mod_proxy_fcgi + php-fpm or mod_fcgid with php fcgi sapi should both be
equivalent when tuned correctly.
Your only option for running php in process efficiently is to use the
non-threadsafe php in the httpd preform module. Your only option for running
httpd efficiently is the event, or at least the worker mpm.
Since usually only a subset of the http requests are to a php resource, the
answer is almost always 'no'.
On Jan 8, 2016 16:48, "Rose, John B" <[email protected]<mailto:[email protected]>>
wrote:
Apache 2.4
On the same system, same web site, are there circumstances when Apache using
mod_php would run faster than Apache using PHP-FPM?
Thanks