Randomly getting a 500 error on my website

Posted by randylahey on Stack Overflow See other posts from Stack Overflow or by randylahey
Published on 2010-03-09T00:23:55Z Indexed on 2010/03/09 3:06 UTC
Read the original article Hit count: 675

Filed under:
|
|

I am randomly getting a 500 error on my websites, all of which are hosted on a shared server.

It won't happen all the time, just randomly when I will refresh the page I will get a 500 error. It usually will come back after I refresh a few times.

I've been reading about it and have heard that .htaccess files can cause this... I did recently start using an .htaccess file to tell my server to start using php 5. I got the code straight from the hosting company that I am with. This is what is in the .htaccess file:

AddType x-mapp-php5 .php

If anyone has any ideas as to what would be causing this, that would really help.

Thanks!

© Stack Overflow or respective owner

Randomly getting a 500 error on my website

Posted by randylahey on Server Fault See other posts from Server Fault or by randylahey
Published on 2010-03-09T00:23:55Z Indexed on 2010/03/09 3:08 UTC
Read the original article Hit count: 675

Filed under:
|
|

I am randomly getting a 500 error on my websites, all of which are hosted on a shared server.

It won't happen all the time, just randomly when I will refresh the page I will get a 500 error. It usually will come back after I refresh a few times.

I've been reading about it and have heard that .htaccess files can cause this... I did recently start using an .htaccess file to tell my server to start using php 5. I got the code straight from the hosting company that I am with. This is what is in the .htaccess file:

AddType x-mapp-php5 .php

If anyone has any ideas as to what would be causing this, that would really help.

Thanks!

© Server Fault or respective owner

Related posts about php

Related posts about .htaccess