if php use 777; if php us 755

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Ron4321
New Member
New Member
Posts: 7
Joined: Tue Sep 23, 2008 12:59 pm

if php use 777; if php us 755

Post by Ron4321 »

    f the web server process (Apache, for instance, often known as "httpd", "nobody", "www-data", etc) runs PHP and "owns" the files that it writes, then you'll need to use 777 permissions on directories that need to be writable, and 666 on files that need to be.

    If you (your user account) runs PHP (such as in a suexec PHP/cgi environment), then typically, no changes are needed on permissions of CMSMS files. Use permissions of 755 for directories, and 644 for file

Both use php, so what is rewuired now?
alby

Re: if php use 777; if php us 755

Post by alby »

Ron4321 wrote:     f the web server process (Apache, for instance, often known as "httpd", "nobody", "www-data", etc) runs PHP and "owns" the files that it writes, then you'll need to use 777 permissions on directories that need to be writable, and 666 on files that need to be.

    If you (your user account) runs PHP (such as in a suexec PHP/cgi environment), then typically, no changes are needed on permissions of CMSMS files. Use permissions of 755 for directories, and 644 for file
And in other situations you have Apache-php with own user and FTP with different user .....
And in other situations you have php-cgi that MUST have 755 (executive file) ......
And in other situations you have  ..........

Alby
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: if php use 777; if php us 755

Post by Dr.CSS »

Are you having a problem with your install?...
Locked

Return to “[locked] Installation, Setup and Upgrade”