Closed yolandavdvegt closed 11 years ago
I have copied my project to an localhost XAMPP server and PHP_Error now works. Our real test server runs on IIS. So probably that is the problem..
I have not tested on IIS, so I can only guess that this is the issue.
I will get an IIS server setup, and test it there.
Thanks that's very nice! I know that the IIS server runs php on FastCGI. Maby that's the troublemaker
Just a guess, but when PHP is run from the command line, PHP Error will become silent. This is because a lot of web developers use PHP for command line scripts, where you don't want the HTML output.
So it might be that PHP Error thinks it is running from the command line, and so goes silent.
I've figured out what the problem was here, and it should now be solved.
You were right, it was due to how IIS works with FastCGI. Nothing strange, just meant it would take over the output when an error was internally reported, to give you better output. PHP Error now works around it.
Hello.
I am using the latest version of PHP_Error grabbed from Github today.
When running the example call_via_native.php it only returns this body:
There is no HTML within the response.. Does something needs to be set? or is this normal behavior?