Knowledgebase: Web Hosting
Default permissions on folders and PHP files.
Posted by Cody R., Last modified by Brian F. on 29 September 2010 10:58 AM
We currently run Litespeed Web Server which runs PHP as the user so files and folders should have the permissions of:

  • Folders: 755 (drwxr-xr-x)
  • Files: 644 (-rw-r--r--)

Even if the instructions for the software state to change the permissions of files or folders to 777 or 666 don't do it. It's a security risk and not needed in our environment.

If you accidently have changed the permissions on your account and your website no longer works please contact the support department to fix the permissions on your account.
(341 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).