Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix Apache 2.4 UDS instructions#7415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
dzuelke wants to merge1 commit intosymfony:3.2fromdzuelke:patch-1
Closed
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletionssetup/web_server_configuration.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -162,10 +162,9 @@ Using mod_proxy_fcgi with Apache 2.4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you are running Apache 2.4, you can easily use ``mod_proxy_fcgi`` to pass
incoming requests to PHP-FPM. Configure PHP-FPM to listen on a TCP socket
(``mod_proxy`` currently `does not support Unix sockets`_), enable ``mod_proxy``
and ``mod_proxy_fcgi`` in your Apache configuration and use the ``SetHandler``
directive to pass requests for PHP files to PHP FPM:
incoming requests to PHP-FPM. Configure PHP-FPM to listen on a TCP or Unix socket,
enable ``mod_proxy`` and ``mod_proxy_fcgi`` in your Apache configuration, and
use the ``SetHandler`` directive to pass requests for PHP files to PHP FPM:

..code-block::apache
Expand All@@ -183,6 +182,8 @@ directive to pass requests for PHP files to PHP FPM:
# with mod_rewrite or mod_autoindex
<FilesMatch \.php$>
SetHandler proxy:fcgi://127.0.0.1:9000
# for Unix sockets, Apache 2.4.10 or higher
# SetHandler proxy:unix:/path/to/fpm.sock|fcgi://dummy
</FilesMatch>
# If you use Apache version below 2.4.9 you must consider update or use this instead
Expand DownExpand Up@@ -338,6 +339,5 @@ The **minimum configuration** to get your application running under Nginx is:
For advanced Nginx configuration options, read the official `Nginx documentation`_.

.. _`Apache documentation`:http://httpd.apache.org/docs/
.. _`does not support Unix sockets`:https://bz.apache.org/bugzilla/show_bug.cgi?id=54101
.. _`FastCgiExternalServer`:http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiExternalServer
.. _`Nginx documentation`:http://wiki.nginx.org/Symfony

[8]ページ先頭

©2009-2025 Movatter.jp