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 <dferra...@gmail.com<mailto:dferra...@gmail.com>> Reply-To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" <users@httpd.apache.org<mailto:users@httpd.apache.org>> Date: Tuesday, January 12, 2016 12:00 PM To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" <users@httpd.apache.org<mailto:users@httpd.apache.org>> 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 (<jbr...@utk.edu<mailto:jbr...@utk.edu>>) 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 <wr...@rowe-clan.net<mailto:wr...@rowe-clan.net>> Reply-To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" <users@httpd.apache.org<mailto:users@httpd.apache.org>> Date: Saturday, January 9, 2016 1:58 PM To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" <users@httpd.apache.org<mailto:users@httpd.apache.org>> 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" <jbr...@utk.edu<mailto:jbr...@utk.edu>> 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