Skip to content

Commit 9e37f2f

Browse files
committed
Show the command for running the PHP built-in webserver with Symfony
1 parent ea18b69 commit 9e37f2f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@ Open your browser and navigate to ``http://localhost:8000/``. If everything is
105105
working, you'll see a welcome page. Later, when you are finished working, stop
106106
the server by pressing ``Ctrl+C`` from your terminal.
107107

108+
.. note::
109+
110+
Locally, you can also use the PHP built-in webserver to run Symfony using
111+
``php -S localhost:8000 -t public``. This however does not provide most of
112+
the features of the Symfony local web server or a full Nginx or Apache
113+
set-up and can result in slow page builds.
114+
108115
.. _install-existing-app:
109116

110117
Setting up an Existing Symfony Project

0 commit comments

Comments
 (0)