Re: [PHP] PHP-FPM with Apache 2.4, forward all request for all virtual host
[email protected] (Jose Nobile)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CAJ69RUQmOq=EeQ7NzNtCbD=0g8BB8bPPhnA75E-zhFePkaZ5Pg@mail.gmail.com> |
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 <[email protected]> wrote: > > > > On Thu, Apr 4, 2013 at 10:27 PM, Jose Nobile <[email protected]>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 >