Re: PHP-FPM with Apache 2.4, forward all request for all virtual host
| From: | Jose Nobile | Date: | Thu, 04 Apr 2013 21:58:56 +0000 |
| Subject: | Re: PHP-FPM with Apache 2.4, forward all request for all virtual host | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320796@lists.php.net to get a copy of this message | ||
But we have two process manager, in Apache with mod_fastcgi and PHP-FPM?
Saludos,
José Nobile
On Thu, Apr 4, 2013 at 4:27 PM, Matijn Woudt <tijnema@gmail.com> wrote:
>
>
>
> On Thu, Apr 4, 2013 at 10:27 PM, Jose Nobile <jose.nobile@gmail.com>wrote:
>
>> How?
>>
>> If is required set the website path to PHP-FPM, from Apache Wiki:
>>
>> ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/var/www/$1
>>
>>
>>
>>
>> Saludos,
>> José Nobile
>>
>>
>>
> with mod_proxy_fcgi you indeed need this line in each vhost. If you don't
> want this, then you need to use something else, like mod_fastcgi or
> mod_cgid?
> mod_cgid should work out of the box, with mod_fastci you might to compile
> this version for Apache 2.4:
> https://github.com/ByteInternet/libapache-mod-fastcgi
>
> - Matijn
>