I'm posting this question in this area because I think my problem is a configuration problem with either Apache or PHP. It I'm wrong I apologize.
So here is the problem.
I'm running Apache 2.2.11 on windows with PHP 5.2.8 using mod_php.
I'm writing a php script, and whenever there is an error in my code, instead of getting a php error in my browser window, I get an HTTP 500 error and the page won't display.
I can go to the Apache error log and see exactly what the problem is, but this is a hassle, and I would much rather just get the errors displayed in the browser. I checked php.ini and error reporting is turned on, so I assume the problem is with my apache configuration, but I wouldn't know where to begin checking on this. To be honest I don't even know that this is an issue that can be fixed. But I would greatly appreciate any ideas anyone has. Thanks
-Jason
HTTP 500 Errors
Moderator: General Moderators
Re: HTTP 500 Errors
Okay, so with my first post on this forum I've proven that I'm an idiot. I looked into php.ini again and found that display_errors was in fact set to Off. 
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: HTTP 500 Errors
Maybe you were checking the wrong php.ini. It is common to have several different php.ini on the filesystem. When you are changing configurations, it is always safe to check the value against phpinfo();
And no that does not make you an idiot. We have all made silly mistakes.
And no that does not make you an idiot. We have all made silly mistakes.
Re: HTTP 500 Errors
thanks for sharing your your solution with us. I ran into the same hitch but your post proved to be a quick ransom to me.
I agree with the earlier post to you that you were not stupid please. We all make mistakes and learn from them.
cheers
I agree with the earlier post to you that you were not stupid please. We all make mistakes and learn from them.
cheers
Re: HTTP 500 Errors
Same thing happened to me once.