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.
Internal server error problem?
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Internal server error problem?
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.
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.