ID: 42722
Updated by: [EMAIL PROTECTED]
Reported By: mabismad at msn dot com
-Status: No Feedback
+Status: Assigned
Bug Type: *General Issues
Operating System: WinXP
PHP Version: 5.2.4
Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2007-10-09 08:00:00] dan at yes dot lt
this bug still was not fixed
------------------------------------------------------------------------
[2007-10-09 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-10-03 10:19:09] alahaye at fm2i dot com
Is the same for me with PHP 5.2.4 for a development server :
Here my php.ini configuration :
error_reporting = E_ALL & ~E_NOTICE
display_errors = On
log_errors = On
error_log = /var/log/php/php_error.log
With this simple code :
=======================
<?php
print "Hello world;
?>
I get on screen : HTTP 500 internal error
Error is log on my file /var/log/php/php_error.log
BUT no error display on screen (expected is : PHP Parse error: syntax
error, unexpected $end in error.php on line X)
Can you give us more information about "Changed error handler to send
HTTP 500 instead of blank page on PHP errors."
How to display error on browser like in previous version. When you are
10 developper on the server and don't have access to the Apache log file
it's not usefull.
Thx.
------------------------------------------------------------------------
[2007-10-01 10:48:11] [EMAIL PROTECTED]
I cannot reproduce it with CVS version.
$ sapi/cgi/php-cgi -d display_errors=0 -d error_reporting=E_ALL
wrong.php
Status: 500 Internal Server Error
X-Powered-By: PHP/5.3.0-dev
Content-type: text/html
$ sapi/cgi/php-cgi -d display_errors=1 -d error_reporting=E_ALL
wrong.php
X-Powered-By: PHP/5.3.0-dev
Content-type: text/html
<br />
<b>Parse error</b>: syntax error, unexpected T_STRING in
<b>/home/dmitry/php/php5.3/CGI-DEBUG/x.php</b> on line <b>2</b><br />
/home/dmitry/php/php5.3/CGI-DEBUG/wrong.php(2) : Parse error - syntax
error, unexpected T_STRING
------------------------------------------------------------------------
[2007-09-30 21:37:28] [EMAIL PROTECTED]
Dmitry, please check this out.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42722
--
Edit this bug report at http://bugs.php.net/?id=42722&edit=1