Skip to content

Commit 5d97b5b

Browse files
committed
tweaked and simplified the first chapter of the quick tour
1 parent cbd0915 commit 5d97b5b

File tree

1 file changed

+15
-28
lines changed

1 file changed

+15
-28
lines changed

quick_tour/the_big_picture.rst

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,8 @@ Downloading Symfony2
1717
--------------------
1818

1919
First, check that you have installed and configured a Web server (such as
20-
Apache) with PHP 5.3.3 or higher.
21-
22-
.. tip::
23-
24-
If you have PHP 5.4, you could use the built-in web server. The built-in
25-
server should be used only for development purpose, but it can help you
26-
to start your project quickly and easily.
27-
28-
Just use this command to launch the server:
29-
30-
.. code-block:: bash
31-
32-
php -S localhost:80 -t /path/to/www
33-
34-
where "/path/to/www" is the path to some directory on your machine that
35-
you'll extract Symfony into so that the eventual URL to your application
36-
is "http://localhost/Symfony/app_dev.php". You can also extract Symfony
37-
first and then start the web server in the Symfony "web" directory. If
38-
you do this, the URL to your application will be "http://localhost/app_dev.php".
20+
Apache) with the most recent PHP version possible (PHP 5.3.8 or newer is
21+
recommended).
3922

4023
Ready? Start by downloading the "`Symfony2 Standard Edition`_", a Symfony
4124
:term:`distribution` that is preconfigured for the most common use cases and
@@ -71,23 +54,27 @@ have a ``Symfony/`` directory that looks like this:
7154
7255
.. note::
7356

74-
If you downloaded the Standard Edition *without vendors*, simply run the
75-
following command to download all of the vendor libraries:
57+
If you are familiar with Composer, you can run the following command
58+
instead of downloading the archive:
7659

7760
.. code-block:: bash
7861
79-
curl -s http://getcomposer.org/installer | php
62+
composer.phar create-project symfony/framework-standard-edition path/to/install
8063
81-
php composer.phar install
64+
.. tip::
8265

83-
If you don't have ``curl`` installed, you can also just download the ``installer``
84-
file manually at http://getcomposer.org/installer. Place this file into your
85-
project and then run:
66+
If you have PHP 5.4, you can use the built-in web server:
8667

8768
.. code-block:: bash
8869
89-
php installer
90-
php composer.phar install
70+
# check your PHP CLI configuration
71+
php ./app/check.php
72+
73+
# run the built-in web server
74+
php ./app/console server:run
75+
76+
The built-in server should be used only for development purpose, but it
77+
can help you to start your project quickly and easily.
9178

9279
Checking the Configuration
9380
--------------------------

0 commit comments

Comments
 (0)