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:
5757 # show the latest log messages 
5858 $ symfony server:log 
5959
60+ 
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+ 
6078Enabling TLS
6179------------ 
6280
                         You can’t perform that action at this time. 
           
                  
0 commit comments