Skip to content

Commit 1aaa291

Browse files
committed
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 c483ac6 commit 1aaa291

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

book/installation.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,14 @@ If there are any issues, correct them now before moving on.
267267

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

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

0 commit comments

Comments
 (0)