Bug #16138: .htaccess / httpd.conf and error_reporting constants
| From: | goba@php.net | Date: | Mon, 18 Mar 2002 09:24:55 +0000 |
| Subject: | Bug #16138: .htaccess / httpd.conf and error_reporting constants | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-2736@lists.php.net to get a copy of this message | ||
From: goba@php.net
Operating system: win2k
PHP version: 4.1.0
PHP Bug Type: *Configuration Issues
Bug description: .htaccess / httpd.conf and error_reporting constants
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 bug report at http://bugs.php.net/?id=16138&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16138&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16138&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16138&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16138&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16138&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16138&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16138&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16138&r=submittedtwice