@@ -44,7 +44,7 @@ have curl installed, it's as easy as:
4444
4545.. code-block :: bash
4646
47- curl -s https://getcomposer.org/installer | php
47+ $ curl -s https://getcomposer.org/installer | php
4848
4949 .. note ::
5050
@@ -57,7 +57,7 @@ Distribution:
5757
5858.. code-block :: bash
5959
60- $ php composer.phar create-project symfony/framework-standard-edition /path/to/webroot/Symfony 2.3 .*
60+ $ php composer.phar create-project symfony/framework-standard-edition /path/to/webroot/Symfony 2.4 .*
6161
6262 .. tip ::
6363
@@ -104,10 +104,10 @@ one of the following commands (replacing ``###`` with your actual filename):
104104.. code-block :: bash
105105
106106 # for .tgz file
107- $ tar zxvf Symfony_Standard_Vendors_2.3 .# ##.tgz
107+ $ tar zxvf Symfony_Standard_Vendors_2.4 .# ##.tgz
108108
109109 # for a .zip file
110- $ unzip Symfony_Standard_Vendors_2.3 .# ##.zip
110+ $ unzip Symfony_Standard_Vendors_2.4 .# ##.zip
111111
112112 If you've downloaded "without vendors", you'll definitely need to read the
113113next section.
@@ -135,7 +135,7 @@ Updating Vendors
135135
136136At this point, you've downloaded a fully-functional Symfony project in which
137137you'll start to develop your own application. A Symfony project depends on
138- a number of external libraries. These are downloaded into the `vendor/ ` directory
138+ a number of external libraries. These are downloaded into the `` vendor/ ` ` directory
139139of your project via a library called `Composer `_.
140140
141141Depending on how you downloaded Symfony, you may or may not need to update
@@ -146,7 +146,7 @@ Step 1: Get `Composer`_ (The great new PHP packaging system)
146146
147147.. code-block :: bash
148148
149- curl -s http://getcomposer.org/installer | php
149+ $ curl -s http://getcomposer.org/installer | php
150150
151151 Make sure you download ``composer.phar `` in the same folder where
152152the ``composer.json `` file is located (this is your Symfony project
@@ -169,8 +169,8 @@ Symfony itself - into the ``vendor/`` directory.
169169
170170 .. code-block :: bash
171171
172- php installer
173- php composer.phar install
172+ $ php installer
173+ $ php composer.phar install
174174
175175 .. tip ::
176176
@@ -231,7 +231,7 @@ If there are any issues, correct them now before moving on.
231231 $ rm -rf app/cache/*
232232 $ rm -rf app/logs/*
233233
234- $ APACHEUSER=` ps aux | grep -E ' [a]pache|[h]ttpd' | grep -v root | head -1 | cut -d\ -f1`
234+ $ APACHEUSER=` ps aux | grep -E ' [a]pache|[h]ttpd|[_]www|[w]ww-data ' | grep -v root | head -1 | cut -d\ -f1`
235235 $ sudo chmod +a " $APACHEUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
236236 $ sudo chmod +a " ` whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
237237
@@ -246,7 +246,7 @@ If there are any issues, correct them now before moving on.
246246
247247 .. code-block :: bash
248248
249- $ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd' | grep -v root | head -1 | cut -d\ -f1`
249+ $ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data ' | grep -v root | head -1 | cut -d\ -f1`
250250 $ sudo setfacl -R -m u:"$APACHEUSER":rwX -m u: `whoami `:rwX app/cache app/logs
251251 $ sudo setfacl -dR -m u:"$APACHEUSER":rwX -m u: `whoami `:rwX app/cache app/logs
252252
0 commit comments