Apache 2.4 event with php-fpm on centos 7

2 posts / 0 new
Last post
#1 Fri, 12/26/2014 - 11:39
madhura

Apache 2.4 event with php-fpm on centos 7

Hello, If it s very easy to use apache with Event mode in Centos 7 by editing the file called /etc/httpd/conf.modules.d/00-mpm.conf, I can't find how to use it with php-fpm. If I understand with apache 2.4, I must to use ProxyPassMatch ?

Thanks a lot

Wed, 01/07/2015 - 21:40
Arvi89

I use Ubuntu server, but I used apache with wvwnt and php-fpm. And yes, I used proxyPassMatch to redirect, like that:
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/home/website/public_html/$1
(But actually I use HHVM now, less stable, I use monit to restart it when it crashes, but much faster)

Topic locked