Skip to content

Commit 08036b6

Browse files
tony-coweaverryan
authored andcommitted
Add another tip to setup permissions in dev environnement.
| Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | all | Fixed tickets | n/a
1 parent 67129b1 commit 08036b6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

book/installation.rst

+8
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,14 @@ If there are any issues, correct them now before moving on.
269269

270270
Note that using the ACL is recommended when you have access to them
271271
on your server because changing the umask is not thread-safe.
272+
273+
**4. Use the same user for CLI and HTTP**
274+
275+
It is a common practice to use the same unix user for CLI and HTTP. It avoids
276+
typing commands when setting up new projects. This is done by editing your
277+
Apache configuration file ``httpd.conf`` and update the user and group values
278+
from ``www-data`` to your CLI user. Obviously, this is only recommended in dev
279+
environnement.
272280

273281
When everything is fine, click on "Go to the Welcome page" to request your
274282
first "real" Symfony2 webpage:

0 commit comments

Comments
 (0)