@@ -44,7 +44,7 @@ have curl installed, it's as easy as:
44
44
45
45
.. code-block :: bash
46
46
47
- curl -s https://getcomposer.org/installer | php
47
+ $ curl -s https://getcomposer.org/installer | php
48
48
49
49
.. note ::
50
50
@@ -57,7 +57,7 @@ Distribution:
57
57
58
58
.. code-block :: bash
59
59
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 .*
61
61
62
62
.. tip ::
63
63
@@ -104,10 +104,10 @@ one of the following commands (replacing ``###`` with your actual filename):
104
104
.. code-block :: bash
105
105
106
106
# for .tgz file
107
- $ tar zxvf Symfony_Standard_Vendors_2.3 .# ##.tgz
107
+ $ tar zxvf Symfony_Standard_Vendors_2.4 .# ##.tgz
108
108
109
109
# for a .zip file
110
- $ unzip Symfony_Standard_Vendors_2.3 .# ##.zip
110
+ $ unzip Symfony_Standard_Vendors_2.4 .# ##.zip
111
111
112
112
If you've downloaded "without vendors", you'll definitely need to read the
113
113
next section.
@@ -135,7 +135,7 @@ Updating Vendors
135
135
136
136
At this point, you've downloaded a fully-functional Symfony project in which
137
137
you'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
139
139
of your project via a library called `Composer `_.
140
140
141
141
Depending 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)
146
146
147
147
.. code-block :: bash
148
148
149
- curl -s http://getcomposer.org/installer | php
149
+ $ curl -s http://getcomposer.org/installer | php
150
150
151
151
Make sure you download ``composer.phar `` in the same folder where
152
152
the ``composer.json `` file is located (this is your Symfony project
@@ -169,8 +169,8 @@ Symfony itself - into the ``vendor/`` directory.
169
169
170
170
.. code-block :: bash
171
171
172
- php installer
173
- php composer.phar install
172
+ $ php installer
173
+ $ php composer.phar install
174
174
175
175
.. tip ::
176
176
@@ -231,7 +231,7 @@ If there are any issues, correct them now before moving on.
231
231
$ rm -rf app/cache/*
232
232
$ rm -rf app/logs/*
233
233
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`
235
235
$ sudo chmod +a " $APACHEUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
236
236
$ sudo chmod +a " ` whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
237
237
@@ -246,7 +246,7 @@ If there are any issues, correct them now before moving on.
246
246
247
247
.. code-block :: bash
248
248
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`
250
250
$ sudo setfacl -R -m u:"$APACHEUSER":rwX -m u: `whoami `:rwX app/cache app/logs
251
251
$ sudo setfacl -dR -m u:"$APACHEUSER":rwX -m u: `whoami `:rwX app/cache app/logs
252
252
0 commit comments