Default permissions on folders and PHP files. Print

  • 2

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.

Ha estat útil la resposta?

« Enrere

Ready to get started? Build your site from
$2.24/mo
GET STARTED NOW