httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Nobile <>
Subject [users@httpd] PHP-FPM with Apache 2.4, forward all request for all virtual host
Date Wed, 03 Apr 2013 20:13:24 GMT

In Apache 2.2 <> forward all request that
point to phisical .php file to PHP-FPM <> is as follow:

LoadModule fastcgi_module <> modules/

FastCGIExternalServer /usr/sbin/php-fpm -socket
/usr/local/php/lib/php.sock -idle-timeout 900AddHandler php-fastcgi
.phpAction php-fastcgi /usr/sbin/php-fpm.fcgiScriptAlias
/usr/sbin/php-fpm.fcgi /usr/sbin/php-fpm

But in Apache 2.4 <> is different, I'm
following the tutorial in Apache Wiki
<> but
I don't understand as enable PHP for all virtual host, not each one.

I search in PHP documentation, there is not mention about install on Apache

   - Install PHP on Apache 2.x on Unix
   - PHP-FPM Install <>
   - PHP-FPM Documentation <>

This question was initially posted on stackoverflow:

Thank you for your help.

José Nobile

View raw message