httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rose, John B" <jbr...@utk.edu>
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 ...

https://wiki.apache.org/httpd/PHP-FPM

We decided to put this ...


ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php-fpm/php-fpm.sock|fcgi://127.0.0.1:9000/usr/local/apache/utk/docs/


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 ?

Thanks



Mime
View raw message