#16138 [Opn]: .htaccess / httpd.conf and error_reporting constants

From: Date: Wed, 09 Apr 2003 16:31:43 +0000
Subject: #16138 [Opn]: .htaccess / httpd.conf and error_reporting constants
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37454@lists.php.net to get a copy of this message
ID: 16138 Updated by: philip@php.net Reported By: goba@php.net Status: Open Bug Type: Feature/Change Request Operating System: win2k PHP Version: 4.1.0 New Comment: On a related note, this "non-feature" has been documented for about six months now. Previous Comments: ------------------------------------------------------------------------ [2002-06-07 04:19:48] goba@php.net Just discard my prev message, I am not completely OK now..... ------------------------------------------------------------------------ [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

« previous php.bugs (#37454) next »