File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,24 @@ run the Symfony server in the background:
57
57
# show the latest log messages
58
58
$ symfony server:log
59
59
60
+ Enabling PHP-FPM
61
+ ----------------
62
+
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.
68
+
69
+ .. tip ::
70
+
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.
77
+
60
78
Enabling TLS
61
79
------------
62
80
You can’t perform that action at this time.
0 commit comments