Skip to content

Commit eca1e73

Browse files
javiereguiluzweaverryan
authored andcommitted
Added a more useful message for users that don't have PHP 5.4
and try to execute the server:run command
1 parent a013b11 commit eca1e73

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

quick_tour/the_big_picture.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,19 @@ to run Symfony:
5454
5555
$ php app/console server:run
5656
57+
If you get the error `There are no commands defined in the "server" namespace.`,
58+
then you are probably using PHP 5.3. That's ok! But the built-in web server is
59+
available for PHP 5.4.0 or higher. If you have an older version of PHP or if you
60+
prefer a traditional web server such as Apache or Nginx, read the
61+
:doc:`/cookbook/configuration/web_server_configuration` article.
62+
5763
Open your browser and access to the ``http://localhost:8000`` URL to
5864
see the Welcome page of Symfony2:
5965

6066
.. image:: /images/quick_tour/welcome.png
6167
:align: center
6268
:alt: Symfony2 Welcome Page
6369

64-
The built-in web server is available for PHP 5.4.0 or higher. If you have an
65-
older version of PHP or if you prefer a traditional web server such as Apache
66-
or Nginx, read the :doc:`/cookbook/configuration/web_server_configuration`
67-
article.
68-
6970
Understanding the Fundamentals
7071
------------------------------
7172

0 commit comments

Comments
 (0)