@@ -37,32 +37,36 @@ In other words, your new app is ready!
37
37
Running your Symfony Application
38
38
--------------------------------
39
39
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 better to use the :doc: `Symfony Local Web Server <setup/symfony_server >`.
43
43
44
- .. note ::
44
+ This local server provides support for HTTP/2, TLS/SSL, automatic generation of
45
+ security certificates and many other features. It works with any PHP application,
46
+ not only Symfony projects, so it's a very useful development tool.
45
47
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:
48
+ Once installed, move into your new project and start the local web server:
50
49
51
50
.. code-block :: terminal
52
51
53
52
$ cd my-project
54
53
$ symfony server:start
55
54
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.
55
+ Open your browser and navigate to ``http://localhost:8000/ ``. If everything is
56
+ working, you'll see a welcome page. Later, when you are finished working, stop
57
+ the server by pressing ``Ctrl+C `` from your terminal.
59
58
60
59
.. tip ::
61
60
62
61
If you're having any problems running Symfony, your system may be missing
63
62
some technical requirements. Use the :doc: `Symfony Requirements Checker </reference/requirements >`
64
63
tool to make sure your system is set up.
65
64
65
+ .. note ::
66
+
67
+ If you want to use a virtual machine (VM) with Vagrant, check out
68
+ :doc: `Homestead </setup/homestead >`.
69
+
66
70
.. tip ::
67
71
68
72
If you're using a VM, you may need to tell the server to bind to all IP addresses:
0 commit comments