Skip to content

Commit

Permalink
minor #3563 Add another tip to setup permissions (tony-co)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes #3563).

Discussion
----------

Add another tip to setup permissions

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | all
| Fixed tickets | n/a

This is a quick tip on the installation guide to use the same user for CLI and HTTP.

Commits
-------

0d5bcd7 Rephrase
625369a Updated tip with latest comments
b955d99 Update installation.rst
1aaa291 Add another tip to setup permissions in dev environnement.
  • Loading branch information
weaverryan committed Mar 19, 2014
2 parents 67129b1 + 75b2387 commit bd473db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,15 @@ 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 the CLI and the web server**

In development environments, it is a common practice to use the same unix
user for the CLI and the web server because it avoids any of these permissions
issues when setting up new projects. This can be done by editing your web server
configuration (e.g. commonly httpd.conf or apache2.conf for Apache) and setting
its user to be the same as your CLI user (e.g. for Apache, update the User
and Group values).

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

0 comments on commit bd473db

Please sign in to comment.