Page 1 of 1

General permissions question - 755 vs 644

Posted: Tue Mar 29, 2005 11:57 pm
by jptechnical
I am moving a cms site to the clients host but I am pulling my hair out with 500 errors!

It seems like the all php files will result in server 500 'Internal Server Error' unless they are chmod 755. Now on the host I am used to dealing with they run just fine as 644.

So, am I right in assuming I need to chmod the php files to 755? If so am I running into a security issue with too lax a permission?

Let me know.

Thanks.

Re: General permissions question - 755 vs 644

Posted: Wed Mar 30, 2005 12:14 am
by Ted
I doubt it...  it's just execute permission, which shouldn't really matter.  Chances are tha the clients host has come kind of cgi setup for PHP that has weird permissions requirements.  I would stick with the 755... it should be fine.

Re: General permissions question - 755 vs 644

Posted: Wed Mar 30, 2005 12:29 am
by jptechnical
Thanks... with all the problems I have been having with this clients hosts I hope the rest are this simple.