Home > Errors / Problems > I get Internal Server Error (500)

I get Internal Server Error (500)

There are many different possibilities why you can get Internal Server Error. And in most cases it is due to incorrect .htaccess file configuration.

Although this is generally caused by a problem within the script, many times it is caused by incorrect file permissions either on the script itself, or another file or directory used by the script.

You should also verify the that the script paths are set correctly. You should also verify that the scripts were uploaded in the correct mode (ASCII or Binary - check the readme for the scripts to see any special instructions. Normally it is ASCII). Another problem could be permissions of the file or directory. Your script permissions should be 755, or rwxr-xr-x.

There are few ways to fix it:
1. Interference with an .htaccess file. If you have implemented .htaccess on your site, it may be interfering with the web page you are trying to load into your browser. Please double check the .htaccess configurations to ensure that it doesn't contain any errors. To confirm whether an misconfiguration .htaccess is the cause of the 500 internal server error, either remove or rename the .htaccess file.
. PHP Coding Timing Out If your PHP script makes external network connections, the connections may time out. If too many connections are attempted and time out, this will cause the internal server error. To prevent such time outs and errors, we suggest that your relevant php scripts be coded with some timeout rules.
3. Check the error_log file in your public_html folder for PHP errors and make sure that they are all fixed.
4. Search on Google for your script name + internal server error. For example if you get this error on Wordpress blog - query Google for Wordpress internal server error Fix.