Skip to content

Add a tips about the Build-in web server included in PHP 5.4 #1523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 9, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions quick_tour/the_big_picture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ Downloading Symfony2
First, check that you have installed and configured a Web server (such as
Apache) with PHP 5.3.2 or higher.

.. tips::

Since PHP 5.4, you could use the Build-in web server:

.. code-block:: bash

php -S localhost:80 -t www
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

``www` is not the web folder of the application. When using the built-in webserver, you could use directly the appropriate folder (and symfony 2.1 has a command launching it for you)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set 'www' to be consistent with the documentation which refer to localhost/Symfony.
But my question about the Cook Books was about this kind of delicacies (Write more details about the command options).

I didn't knew about that in version 2.1, did you think I should wait?


For development purpose only, it can help you to start your project right now.

Ready? Start by downloading the "`Symfony2 Standard Edition`_", a Symfony
:term:`distribution` that is preconfigured for the most common use cases and
also contains some code that demonstrates how to use Symfony2 (get the archive
Expand Down