Skip to content

Commit 09e046d

Browse files
committed
Add a short mention to apache-pack in the web server docs
1 parent f90d149 commit 09e046d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup/web_server_configuration.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ directive to pass requests for PHP files to PHP FPM:
9595
CustomLog /var/log/apache2/project_access.log combined
9696
</VirtualHost>
9797
98+
.. note::
99+
100+
If you run Apache via ``mod_php`` and without using PHP-FPM, you can run
101+
``composer require symfony/apache-pack`` to create an ``.htaccess`` file in
102+
the ``public/`` directory with the rewrite rules needed to serve the Symfony
103+
application. In production, move these rules to the main Apache configuration
104+
file to improve performance.
105+
98106
Nginx
99107
-----
100108

0 commit comments

Comments
 (0)