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.
  • 2 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How Do I Change PHP Setting X?

In order to change a php.ini setting you would simply create a php.ini file in your home...

How do I increase the PHP Memory Limit?

Create  a blank text file called php.ini (if one doesn't already exist).Put the...

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...

How do I use PHP5?

PHP5 is now the default on all our servers nothing extra needs to be done to use it.If you come...

Wildcard Subdomain hosting

To do this all you need to do is:1) Login to Cpanel for the domain you need this on then go to...