httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rose, John B" <>
Subject [users@httpd] Apache and PHP-FPM error
Date Mon, 09 Feb 2015 20:03:23 GMT
After implementing Apache 2.4 and PHP-FPM with the default settings we found that our system
cpu usage went up significantly over what mod_php used for the same amount of web test traffic
from "ab"

So we read a bit about tuning PHP-FPM and from this page ...

We decided to put this ...

ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php-fpm/php-fpm.sock|fcgi://

into the httpd.conf file. In order to use the unix domain socket (UDS) approach as a possible
solution to reducing the big spike in cpu usage.

However we get this error when do a configtest on Apache ...

AH00526: Syntax error on line 431 of /etc/httpd/conf/httpd.conf:
ProxyPass URL must be absolute!

Any suggestions on the above error?

Any tips on tuning Apache/PHP-FPM ?


View raw message