Getting a 500 Error

If your site occurs a 500 Internal Server Error the most common are php settings contained in your .htaccess file. They will typically look like this:

php_value "register_globals" "1"

Both register and flag calls in a .htaccess file are not supported under suexec/phpsuexec

To fix this simply create a file named php.ini in your public_html folder, and remove the lines from the .htaccess file and paste them in your php.ini file. Afterwards modify them to something similar as this:

register_globals = On

If this still does not fix your problem, check the permissions of your files and folders.
On a PHPSuExec server you cannot have any files with 777 permissions.
For security reasons you should keep all folders at 755 and files at 644.
Some applications do require that a file to have greater permissions than 644, but make sure you change the permissions on that file only.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How Do I Change PHP Settings?

How do I change PHP settings?Easy: First create a blank text file called php.ini (assuming one...

What are the paths to commonly used services?

What is the path to my user files? The path is /home/username/public_html What is the local path...

How do I increase the PHP Upload Limit?

To raise the PHP Upload Limit for your website simply do the following:Create a blank text file...

PEAR Modules

PEAR modules are collections of functions that allow you to perform tasks using PEAR finctions....

How do I set PHP include_path?

There are 2 main ways you can set your PHP include_path. 1. Edit your /etc/php.ini file. Inside...