|
Posted by Gordon Burditt on September 17, 2008, 5:21 pm
Please log in for more thread options
show/hide quoted text
>I am running WS2008 + IIS7 + FASTCGI + ZendCore.
>I have not modified the default ZendCore php.ini configuration file.
>Actualy, any kind of PHP error, warning or notice gives me immediately
>a IIS 500 Error (Internal Server Error).
>It is a good thing in production environnement.
>For debuging purposes, I want temporary to be able to see PHP warnings
>and errors embedded on the html page.
Have you tried looking at the HTML source of the page you get?
My guess is that you get a 500 error because you get PHP errors in
the middle of header info, and this makes for bad header syntax.
To see the errors, force header output *before* doing whatever it
is that draws errors.
show/hide quoted text
>So I have set "display_errors = On" on the ZC admin panel.
>But nothing changes ... I still always got error 500 on pages
>containing errors, warning, or notice.
|
>I have not modified the default ZendCore php.ini configuration file.
>Actualy, any kind of PHP error, warning or notice gives me immediately
>a IIS 500 Error (Internal Server Error).
>It is a good thing in production environnement.
>For debuging purposes, I want temporary to be able to see PHP warnings
>and errors embedded on the html page.