Bug #16138 Updated: .htaccess / httpd.conf and error_reporting constants

From: Date: Fri, 07 Jun 2002 08:15:42 +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-9726@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: 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?? Previous Comments: ------------------------------------------------------------------------ [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 (#9726) next »