File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -60,18 +60,20 @@ run the Symfony server in the background:
60
60
Enabling PHP-FPM
61
61
----------------
62
62
63
- When the server starts it will check the ``public `` folder for an ``index.php ``
64
- file. If this file is found the server will automatically start with PHP-FPM
65
- enabled. Otherwise the server will start without PHP-FPM and will show a
66
- ``Page not found `` page when trying to access a ``.php `` file in the browser.
63
+ When the server starts it will check for common patterns like ``web/app.php ``,
64
+ ``web/app_dev.php `` or ``public/index.php ``. If a file like this is found the
65
+ server will automatically start with PHP-FPM enabled. Otherwise the server will
66
+ start without PHP-FPM and will show a ``Page not found `` page when trying to
67
+ access a ``.php `` file in the browser.
67
68
68
69
.. tip ::
69
70
70
- When an index.html and an index.php file are present the server will still
71
- start with PHP-FPM enabled but the index.html will take precedence over the
72
- index.php file. This means when an index.html file is present in
73
- ``public ``, it will be displayed instead of the index.php which would show
74
- e.g. the Symfony application.
71
+ When an ``index.html `` and a front controller like e.g. ``index.php `` are
72
+ both present the server will still start with PHP-FPM enabled but the
73
+ ``index.html `` will take precedence over the front controller. This means
74
+ when an ``index.html `` file is present in ``public `` or ``web ``, it will be
75
+ displayed instead of the ``index.php `` which would show e.g. the Symfony
76
+ application.
75
77
76
78
Enabling TLS
77
79
------------
You can’t perform that action at this time.
0 commit comments