@@ -162,10 +162,9 @@ Using mod_proxy_fcgi with Apache 2.4
162162~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163163
164164If you are running Apache 2.4, you can easily use ``mod_proxy_fcgi `` to pass
165- incoming requests to PHP-FPM. Configure PHP-FPM to listen on a TCP socket
166- (``mod_proxy `` currently `does not support Unix sockets `_), enable ``mod_proxy ``
167- and ``mod_proxy_fcgi `` in your Apache configuration and use the ``SetHandler ``
168- directive to pass requests for PHP files to PHP FPM:
165+ incoming requests to PHP-FPM. Configure PHP-FPM to listen on a TCP or Unix socket,
166+ enable ``mod_proxy `` and ``mod_proxy_fcgi `` in your Apache configuration, and
167+ use the ``SetHandler `` directive to pass requests for PHP files to PHP FPM:
169168
170169.. code-block :: apache
171170
@@ -183,6 +182,8 @@ directive to pass requests for PHP files to PHP FPM:
183182 # with mod_rewrite or mod_autoindex
184183 <FilesMatch \.php$>
185184 SetHandler proxy:fcgi://127.0.0.1:9000
185+ # for Unix sockets, Apache 2.4.10 or higher
186+ # SetHandler proxy:unix:/path/to/fpm.sock|fcgi://dummy
186187 </FilesMatch>
187188
188189 # If you use Apache version below 2.4.9 you must consider update or use this instead
@@ -338,6 +339,5 @@ The **minimum configuration** to get your application running under Nginx is:
338339For advanced Nginx configuration options, read the official `Nginx documentation `_.
339340
340341.. _`Apache documentation` : http://httpd.apache.org/docs/
341- .. _`does not support Unix sockets` : https://bz.apache.org/bugzilla/show_bug.cgi?id=54101
342342.. _`FastCgiExternalServer` : http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiExternalServer
343343.. _`Nginx documentation` : http://wiki.nginx.org/Symfony
0 commit comments