Re: [PHP] Re: php-fpm and apache
- Date: Thu, 28 Dec 2017 06:13:18 -0500
- From: Curtis Maurand <curtis@xxxxxxxxxxx>
- Subject: Re: [PHP] Re: php-fpm and apache
I set up a host using ispconfig which does it this way. It solves a whole bunch of security and file permission problems that I'd been having with cms engines and such because it runs everything under the site owner rather than www-data. It really works pretty well. If you were running tomcat or mono, they're also done as a proxy.
On December 27, 2017 11:15:22 AM EST, "@lbutlr" <kremels@xxxxxxxxx> wrote:
>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/
>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
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
Sent from my Android device with K-9 Mail. Please excuse my brevity.