Bug #16138 Updated: .htaccess / httpd.conf and error_reporting constants
| From: | goba@php.net | Date: | Fri, 07 Jun 2002 08:19:49 +0000 |
| Subject: | Bug #16138 Updated: .htaccess / httpd.conf and error_reporting constants | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9727@lists.php.net to get a copy of this message | ||
ID: 16138
Updated by: goba@php.net
Reported By: goba@php.net
Status: Open
Bug Type: Feature/Change Request
Operating System: win2k
PHP Version: 4.1.0
New Comment:
Just discard my prev message, I am not completely OK now.....
Previous Comments:
------------------------------------------------------------------------
[2002-06-07 04:15:41] goba@php.net
As this was changed to a feature request, does that mean, that the
bugreport part is solved? That error_reporting() now returns the REAL
error reporting value??
------------------------------------------------------------------------
[2002-03-18 04:24:55] goba@php.net
Let's put this into a .htaccess (I guess it is the same inside
httpd.conf, but not tried):
php_value error_reporting E_ALL
Run the following PHP code in the same dir:
<?php
echo error_reporting();
phpinfo();
?>
The echo will print out zero, but PHPinfo()
will present the string "E_ALL" as the local
value.
Error reporting constants should be handled
in .htaccess files IMHO...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16138&edit=1