#23443 [Opn->Bgs]: php_admin_value error_reporting
| From: | derick@php.net | Date: | Thu, 01 May 2003 20:34:21 +0000 |
| Subject: | #23443 [Opn->Bgs]: php_admin_value error_reporting | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38897@lists.php.net to get a copy of this message | ||
ID: 23443
Updated by: derick@php.net
Reported By: greg at mtechsolutions dot ca
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: redhat 8.0
PHP Version: 4.3.1
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
As Apache doesn't know about PHP's constants this is expected, it just
passes a string "E_ALL" to PHP, and not the constant value it
represents (2047).
Previous Comments:
------------------------------------------------------------------------
[2003-05-01 15:32:24] greg at mtechsolutions dot ca
This was tested in apache, not sure if it happens in other servers or
not, or if it's even applicable.
If I add:
php_admin_value error_reporting E_ALL
in httpd.conf, I don't see any errors in output via the webserver.
It shows up in phpinfo() as "E_ALL". When it's set to E_ALL in php.ini,
it shows up as "2047". Seemingly, what is happening is it's not
interpreting the constant when it parses httpd.conf.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23443&edit=1