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.

  • 28 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

How do I use PHP 4 or 5?

All of our servers comes with PHP 4 and 5 installed. To select what version you would like to...

How to redirect domain directly to subdirectory without redirecting url

Sometimes the simple things are the hardest to figure out and today we are going to show you a...