We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f90d149 commit 09e046dCopy full SHA for 09e046d
setup/web_server_configuration.rst
@@ -95,6 +95,14 @@ directive to pass requests for PHP files to PHP FPM:
95
CustomLog /var/log/apache2/project_access.log combined
96
</VirtualHost>
97
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
106
Nginx
107
-----
108
0 commit comments