Skip to content

Commit 65cd6c9

Browse files
committed
Small reword on using Nginx/Apache
1 parent ea18b69 commit 65cd6c9

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

setup.rst

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,16 @@ 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.
87+
In production, you should install a webserver like Nginx or Apache and
88+
:doc:`configure it to run Symfony </setup/web_server_configuration>`. This
89+
method can also be used if you're not using the Symfony local web server for
90+
development.
9191

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.
92+
However for local development, the most convenient way of running Symfony is by
93+
using the :doc:`local web server </setup/symfony_server>` provided by the
94+
``symfony`` binary. This local server provides among other things support for
95+
HTTP/2, concurrent requests, TLS/SSL and automatic generation of security
96+
certificates.
9597

9698
Open your console terminal, move into your new project directory and start the
9799
local web server as follows:
@@ -105,6 +107,11 @@ Open your browser and navigate to ``http://localhost:8000/``. If everything is
105107
working, you'll see a welcome page. Later, when you are finished working, stop
106108
the server by pressing ``Ctrl+C`` from your terminal.
107109

110+
.. tip::
111+
112+
The web server works with any PHP application, not only Symfony projects,
113+
so it's a very useful generic development tool.
114+
108115
.. _install-existing-app:
109116

110117
Setting up an Existing Symfony Project

0 commit comments

Comments
 (0)