debugging PHP errors? [Answered]RSS

6 replies

Last post Oct 03, 2011 04:34 PM by trikks

  • debugging PHP errors?

    Jan 13, 2008 10:04 AM|e1ny|LINK

    Hi All: Is there any way to configure IIS 7 to return PHP debugging/compilation error information to the web browser, like turning off custom errors in .NET? I realize there are security issues in doing this but it's only temporary while migrating an app over from Apache.

  • Re: debugging PHP errors?

    Jan 22, 2008 10:34 PM|Luciano.cl|LINK

  • Re: debugging PHP errors?

    Nov 18, 2008 11:28 AM|maxonon|LINK

    I have the same problem. I do not want to use an external debugger, I want php to output the error instead of just seeing a HTTP 500 Internal Server Error. Only when developing of course. How is this done?

  • Re: debugging PHP errors?

    Sep 21, 2009 04:08 AM|jbgillet|LINK

     Did anyone ever work out how to do this ???

  • Re: debugging PHP errors?

    Oct 26, 2009 11:33 PM|brashquido|LINK

    Is using the PHP log not suitable?

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    IIS Aid
    IIS and Open Source
  • Re: debugging PHP errors?

    Jun 09, 2010 06:54 PM|geoffish|LINK

    I cant figure out how to access the "PHP log" you are referring to.
    geoff
  • Re: debugging PHP errors?

    Oct 03, 2011 04:34 PM|trikks|LINK

    Ensure display_errors is On in the php.ini, restart any website running php applications after you modify the php.ini. If you want to go deeper. http://learn.iis.net/page.aspx/765/improve-php-error-messages-in-iis-7/