Skip to content

Commit 7c976fb

Browse files
committed
Small reword on using Nginx/Apache
1 parent ea18b69 commit 7c976fb

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

setup.rst

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,10 @@ started. In other words, your new application is ready!
8484
Running Symfony Applications
8585
----------------------------
8686

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.
9591

9692
Open your console terminal, move into your new project directory and start the
9793
local web server as follows:
@@ -105,6 +101,16 @@ Open your browser and navigate to ``http://localhost:8000/``. If everything is
105101
working, you'll see a welcome page. Later, when you are finished working, stop
106102
the server by pressing ``Ctrl+C`` from your terminal.
107103

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+
108114
.. _install-existing-app:
109115

110116
Setting up an Existing Symfony Project

0 commit comments

Comments
 (0)