8000 minor #10455 fix the server:status command description (xabbuh) · symfony/symfony-docs@32353a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 32353a6

Browse files
committed
minor #10455 fix the server:status command description (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- fix the server:status command description see symfony/symfony#28777 Commits ------- 6013561 fix server status and stop command descriptions
2 parents 37e3992 + 6013561 commit 32353a6

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

setup/built_in_web_server.rst

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,12 @@ can change the socket passing an IP address and a port as a command-line argumen
8181
.. note::
8282

8383
You can use the ``server:status`` command to check if a web server is
84-
listening on a certain socket:
84+
listening:
8585

8686
.. code-block:: terminal
8787
8888
$ php bin/console server:status
8989
90-
$ php bin/console server:status 192.168.0.1:8080
91-
92-
The first command shows if your Symfony application will be served through
93-
``localhost:8000``, the second one does the same for ``192.168.0.1:8080``.
94-
9590
.. tip::
9691

9792
Some systems do not support the ``server:start`` command, in these cases
@@ -146,13 +141,5 @@ command:
146141
147142
$ php bin/console server:stop
148143
149-
Like with the start command, if you omit the socket information, Symfony will
150-
stop the web server bound to ``localhost:8000``. Just pass the socket information
151-
when the web server listens to another IP address or to another port:
152-
153-
.. code-block:: terminal
154-
155-
$ php bin/console server:stop 192.168.0.1:8080
156-
157144
.. _`built-in web server`: https://php.net/manual/en/features.commandline.webserver.php
158145
.. _`php.net`: https://php.net/manual/en/features.commandline.webserver.php#example-411

0 commit comments

Comments
 (0)
0