[PHP] Re: php-fpm and apache
- Date: Wed, 27 Dec 2017 09:15:22 -0700
- From: "@lbutlr" <kremels@xxxxxxxxx>
- Subject: [PHP] Re: php-fpm and apache
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.
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@xxxxxxxxx> 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?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php