My site displays an "Internal Server Error", what should I do? Print

  • 36

For security reasons, our servers use suPHP which allows to execute PHP scripts with the rights of the script owner and not the rights of the web server.

For this reason, the directories as well as the PHP files must have restricted rights in order to be executed.

Specifically, directories and PHP files must not be writable by anyone other than the owner of the directory or PHP file.

This translates in terms of permissions into the following maximum configuration:

For the directories :rwxr-xr-x(755)
For PHP files:rw-r--r--(644)

For security reasons, we advise you not to give read rights to the "other" group on your PHP files (in particular your configuration files containing your database access password):

For directories :rwxr-xr-x(755)
For PHP files:rw-r-----(640)

If you encounter the following error when making changes to your site, please check that the permissions on your files are correct.

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, [...]


Was this answer helpful?

Back