500 Error

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

php_value "register_globals" "1"

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

Was this answer helpful?

 Print this Article

Also Read

Not Acceptable Error

If you receive the error Not acceptable (406) that means you're causing mod_security to block...

How many Emails can I send?

You can send a maximum of 150 emails per domain name per hour (on Shared Servers). If you exceed...

How to Edit php.ini File

If you need a custom php.ini file for your account please upload the file at the below URL to...

Password Refused When Trying To Access E-Mail

If you are trying to access your e-mail and get the error saying your password is incorrect don't...

Fatal error: Allowed memory size of 33554432 bytes exhausted ?

You can increase the memory limit of PHP by modifying the php.ini file in your public_html folder...