Pages getting 500 error

B4hosting Linux cPanel Hostings uses SuPHP to secure PHP. suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.

If you are getting 500 Server Errors on any of your PHP scripts, please be sure your permissions are set to 755. This means they are world readable and executable. Under no circumstances should any script or folder be set to 777

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Disabling Cache on Linux Server

You can disable caching of files by adding this code to the bottom of .htaccess <Files...

Redirect HTTP to HTTPS automatically in Linux / Cpanel

If you have a secure certificate (SSL) on your website, you can automatically redirect visitors...