Re: php-fpm and apache

From: Date: Wed, 27 Dec 2017 16:15:22 +0000
Subject: Re: php-fpm and apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-326299@lists.php.net to get a copy of this message
Hi, I hate to repost, but I did not receive this message back from the list, so I am unsure it got posted. So it's not a complete repeat, I've added a little information. I have php working within Apache 2.4 by adding the Proxy method to the virtual host, but am holding off on doing this for all the virtual hosts if I can avoid it. DocumentRoot /usr/local/www/roundcube/ ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/usr/local/www/roundcube/$1 I suppose I could write a quick script to automate this. On 26 Dec 2017, at 15:31, @lbutlr <kremels@kreme.com> wrote: > I'm reading a bunch of writre-ups on using php in apache 2.4 and everything is coming down > very much against using mod_php as I've been doing for… well, ages. But the configuration at > setup for using php-fpm seems unnecessarily convoluted. > > As I understand it, you setup a proxy and then send php files via that proxy, which means > adjusting every vhost on the server. > > Is there a way to setup php-amp so that it basically works the way mod-php did, in that all > .php files are processed simply based on their extension?

« previous php.general (#326299) next »