Skip to content

Commit 3273cda

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: Reworded the Setup article about the local Symfony server
2 parents 4c1b536 + 45747d8 commit 3273cda

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

setup.rst

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,37 @@ In other words, your new app is ready!
3737
Running your Symfony Application
3838
--------------------------------
3939

40-
On production, you should use a web server like Nginx or Apache
41-
(see :doc:`configuring a web server to run Symfony </setup/web_server_configuration>`).
42-
But for development, it's convenient to use the :doc:`Symfony Local Web Server <setup/symfony_server>`.
40+
On production, you should use a web server like Nginx or Apache (see
41+
:doc:`configuring a web server to run Symfony </setup/web_server_configuration>`).
42+
But for development, it's more convenient to use the
43+
:doc:`Symfony Local Web Server <setup/symfony_server>`.
4344

44-
.. note::
45+
This local server provides support for HTTP/2, TLS/SSL, automatic generation of
46+
security certificates and many other features. It works with any PHP application,
47+
not only Symfony projects, so it's a very useful development tool.
4548

46-
If you want to use a virtual machine (VM) with Vagrant, check out
47-
:doc:`Homestead </setup/homestead>`.
48-
49-
Move into your new project and start the server:
49+
Once installed, move into your new project and start the local web server:
5050

5151
.. code-block:: terminal
5252
5353
$ cd my-project
5454
$ symfony server:start
5555
56-
Open your browser and navigate to ``http://localhost:8000/``. If everything is working,
57-
you'll see a welcome page. Later, when you are finished working, stop the server
58-
by pressing ``Ctrl+C`` from your terminal.
56+
Open your browser and navigate to ``http://localhost:8000/``. If everything is
57+
working, you'll see a welcome page. Later, when you are finished working, stop
58+
the server by pressing ``Ctrl+C`` from your terminal.
5959

6060
.. tip::
6161

6262
If you're having any problems running Symfony, your system may be missing
6363
some technical requirements. Use the :doc:`Symfony Requirements Checker </reference/requirements>`
6464
tool to make sure your system is set up.
6565

66+
.. note::
67+
68+
If you want to use a virtual machine (VM) with Vagrant, check out
69+
:doc:`Homestead </setup/homestead>`.
70+
6671
.. tip::
6772

6873
If you're using a VM, you may need to tell the server to bind to all IP addresses:

0 commit comments

Comments
 (0)