SuphpNotes

A suphp environment is actually easy to manage for the system administrator and the end user. In a suphp env, the webserver runs as the user whose directory the site is being served from, the linux user account. For instance, if your site was mydomain.com and your sftp/ssh username is mydomain, your directory on the server might be /home/mydomain/public_html/. When serving pages from mydomain.com, the webserver will be running as the user mydomain.

That makes managing permissions easy. All files inside /home/mydomain/public_html/ should be owned by mydomain:mydomain. The standard permissions of 644 on files and 755 on directories are all that are needed for running phpWebSite in a suphp env.

Return to the Systems Administrator main page.


Last modified 03/18/2009 10:55:32 PM by verdonv

Immutable Page | Discussion | Print View | History |