@@ -84,14 +84,10 @@ started. In other words, your new application is ready!
84
84
Running Symfony Applications
85
85
----------------------------
86
86
87
- On production, you should use a web server like Nginx or Apache (see
88
- :doc: `configuring a web server to run Symfony </setup/web_server_configuration >`).
89
- But for development, it's more convenient to use the
90
- :doc: `local web server </setup/symfony_server >` provided by Symfony.
91
-
92
- This local server provides support for HTTP/2, TLS/SSL, automatic generation of
93
- security certificates and many other features. It works with any PHP application,
94
- not only Symfony projects, so it's a very useful development tool.
87
+ For local development, the most convenient way of running Symfony is by using
88
+ the :doc: `local web server </setup/symfony_server >` provided by the ``symfony ``
89
+ binary. This local server provides among other things support for HTTP/2,
90
+ TLS/SSL and automatic generation of security certificates.
95
91
96
92
Open your console terminal, move into your new project directory and start the
97
93
local web server as follows:
@@ -105,6 +101,16 @@ Open your browser and navigate to ``http://localhost:8000/``. If everything is
105
101
working, you'll see a welcome page. Later, when you are finished working, stop
106
102
the server by pressing ``Ctrl+C `` from your terminal.
107
103
104
+ .. tip ::
105
+
106
+ The web server works with any PHP application, not only Symfony projects,
107
+ so it's a very useful generic development tool.
108
+
109
+ In production, you should install a webserver like Nginx or Apache and
110
+ :doc: `configure it to run Symfony </setup/web_server_configuration >`. This
111
+ method can also be used if you're not using the Symfony local web server for
112
+ development.
113
+
108
114
.. _install-existing-app :
109
115
110
116
Setting up an Existing Symfony Project
0 commit comments