2

Hey guys, I just installed apache2 with curl and php5. I haven't touched the config files, and every time my php throws an error (function doesn't exists, variable not set, etc), instead of display an error message (like my code says to) the server throws a 500 internal server error. While this isn't inaccurate, I would like a little more information for the dev site, and a prettier error screen for the production site.

Any ideas on how to fix this?
Thanks,
Max

3
  • Check the Apache logs. They should say something C:\Program Files\Apache Group\Apache2\logs\error.log or C:\Program Files\Apache Group\Apache2\logs\access.log
    – random
    Commented May 25, 2011 at 2:20
  • That is how I figured out it was php errors causing the 500 headers. Though they just give the error information, and that's it.
    – Jess
    Commented May 25, 2011 at 2:35
  • Have you tried running the PHP directly without Apache in the way?
    – Xenoactive
    Commented May 25, 2011 at 2:56

1 Answer 1

1

You have display_errors = off in your php.ini file. You need to set it to on.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .