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

Commite95223f

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: Minor tweaks Updating the web_server_configuration.rst File Fixed typo in event_dispatcher.rst
2 parentsf2533b6 +712707d commite95223f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

‎event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Defining Event Listeners with PHP Attributes
149149

150150
An alternative way to define an event listener is to use the
151151
:class:`Symfony\\Component\\EventDispatcher\\Attribute\\AsEventListener`
152-
PHP attribute. This allows to configure the listener inside its class, without
152+
PHP attribute. This allowsyouto configure the listener inside its class, without
153153
having to add any configuration in external files::
154154

155155
namespace App\EventListener;

‎setup/web_server_configuration.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,14 @@ directive to pass requests for PHP files to PHP FPM:
192192
193193
..note::
194194

195-
If you are doing some quick tests with Apache, you can also run
196-
``composer require symfony/apache-pack``. This package creates an ``.htaccess``
197-
file in the ``public/`` directory with the necessary rewrite rules needed to serve
198-
the Symfony application. However, in production, it's recommended to move these
199-
rules to the main Apache configuration file (as shown above) to improve performance.
195+
If you're running some quick tests with Apache, you can run
196+
``composer require symfony/apache-pack`` to create an ``.htaccess`` file in
197+
the ``public/`` directory with the rewrite rules needed to serve the Symfony
198+
application. Make sure Apache's ``AllowOverride`` setting is set to ``All``
199+
for that directory; otherwise, the ``.htaccess`` file will be ignored.
200+
201+
In production, however, it's recommended to move these rules to the main
202+
Apache configuration file (as shown above) to improve performance.
200203

201204
Caddy
202205
-----

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp