Apache and PHP-FPM error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux