8000 Merge branch '4.4' into 5.0 · symfony/symfony-docs@0a1db8f · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a1db8f

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: [Setup] Clarify the Symfony binary and show small PHP built-in command
2 parents 4c8a390 + 1a3f107 commit 0a1db8f

File tree

2 files changed

+24
-9
lines changed

2 files change 8000 d

+24
-9
lines changed

setup.rst

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ requirements. Open your console terminal and run this command:
3333
3434
$ symfony check:requirements
3535
36+
.. note::
37+
38+
The Symfony binary is developped internally at Symfony. If you want to
39+
report a bug or suggest a new feature, please create an issue on
40+
`symfony/cli`_.
41+
3642
.. _creating-symfony-applications:
3743

3844
Creating Symfony Applications
@@ -78,14 +84,16 @@ started. In other words, your new application is ready!
7884
Running Symfony Applications
7985
----------------------------
8086

81-
On production, you should use a web server like Nginx or Apache (see
82-
:doc:`configuring a web server to run Symfony </setup/web_server_configuration>`).
83-
But for development, it's more convenient to use the
84-
: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.
8591

86-
This local server provides support for HTTP/2, TLS/SSL, automatic generation of
87-
security certificates and many other features. It works with any PHP application,
88-
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.
8997

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

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+
102115
.. _install-existing-app:
103116

104117
Setting up an Existing Symfony Project
@@ -294,6 +307,7 @@ Learn More
294307
.. _`Stellar Development with Symfony`: https://symfonycasts.com/screencast/symfony
295308
.. _`Install Composer`: https://getcomposer.org/download/
296309
.. _`install Symfony CLI`: https://symfony.com/download
310+
.. _`symfony/cli`: https://github.com/symfony/cli
297311
.. _`The Symfony Demo Application`: https://github.com/symfony/demo
298312
.. _`Symfony Flex`: https://github.com/symfony/flex
299313
.. _`PHP security advisories database`: https://github.com/FriendsOfPHP/security-advisories

setup/symfony_server.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ The Symfony server is part of the ``symfony`` binary created when you
1919

2020
.. note::
2121

22-
If you want to report a bug or suggest a new feature, please create an issue
23-
on `symfony/cli`_.
22+
The Symfony binary is developped internally at Symfony. If you want to
23+
report a bug or suggest a new feature, please create an issue on
24+
`symfony/cli`_.
2425

2526
Getting Started
2627
---------------

0 commit comments

Comments
 (0)
0