Page 1 of 1

Internal server error problem?

Posted: Sun Feb 15, 2009 5:45 am
by kalpesh
hi,
I am getting 500 Internal Server Error in shared web hosting when i try to insert records in database.
It is not coming regularly but after insertion or updation of 10 or 12 records.
I am using linux based in shared web hosting with apache 2.5.6 and php 5.2.6 .
After internal server error occurs when i try to insert same record then at that time it inserted successfully.
I am not getting why i get that error sometimes.
Please help me.

Re: Internal server error problem?

Posted: Sun Feb 15, 2009 6:17 am
by Chris Corbyn
You shouldn't ever get these errors, and doing so usually indicates a fault with the server itself.

You might get a 500 error in the case of a segmentation fault in PHP/Apache (should never happen). I've seen it happen when memory limits have been exhausted through massive recursion too, but again, the 500 error should not be the result, it's usually a faulty PHP installation.

If you have access to your error logs, check them for anything odd.