Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eca1e73

Browse filesBrowse 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
Copy full SHA for eca1e73

File tree

Expand file treeCollapse file tree

1 file changed

+6
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-5
lines changed

‎quick_tour/the_big_picture.rst

Copy file name to clipboardExpand all lines: quick_tour/the_big_picture.rst
+6-5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.