Skip to content

Commit

Permalink
Add another tip to setup permissions in dev environnement.
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | all
| Fixed tickets | n/a
  • Loading branch information
tony-co committed Feb 10, 2014
1 parent c483ac6 commit 1aaa291
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,14 @@ If there are any issues, correct them now before moving on.

Note that using the ACL is recommended when you have access to them
on your server because changing the umask is not thread-safe.

**4. Use the same user for CLI and HTTP**

It is a common practice to use the same unix user for CLI and HTTP. It avoids
typing commands when setting up new projects. This is done by editing your
Apache configuration file ``httpd.conf`` and update the user and group values
from ``www-data`` to your CLI user. Obviously, this is only recommended in dev
environnement.

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

0 comments on commit 1aaa291

Please sign in to comment.