ID: 42749
Comment by: gabe at mudbugmedia dot com
Reported By: gabe at mudbugmedia dot com
Status: No Feedback
Bug Type: *General Issues
Operating System: Linux proto 2.6.20-hardened-r5
PHP Version: 5CVS-2007-09-24 (snap)
New Comment:
I have not been keep track of this bug since it was originally
reported,
I can no longer reproduce the behavior as of php-5.2.6
Previous Comments:
------------------------------------------------------------------------
[2007-10-09 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-10-01 12:13:43] [EMAIL PROTECTED]
What MPM is used in Apache? Note: php_admin_* sets the ini option not
to be modifiable by .htaccess or in scripts using ini_set().
Can you try and create a small test environment with this information?
We need sample config to be able to reproduce this ourselves.
Apparently it's some .htaccess file and/or script changing
error_reporting() using either ini_set() or error_reporting() for it.
Also using @ affects it..
------------------------------------------------------------------------
[2007-09-25 19:50:32] gabe at mudbugmedia dot com
I've been running a httperf on a sample script testing when setting
error_reporting in a <VirtualHost> block via php_admin_value vs.
php_value and watching the error log.
php_admin_value does NOT have problems setting the level
php_value DOES have problems setting the level
------------------------------------------------------------------------
[2007-09-25 14:01:03] gabe at mudbugmedia dot com
I have some vhosts that have the following within the <VirtualHost>
block:
php_admin_value error_reporting "E_ALL ^ E_NOTICE"
However, this problem is occurring on a vhost that does not use any
php_admin_values, either globally or in the <VirtualHost> block.
I have not had troubles overriding any of the other .ini values that I
know of. I have a few sites that have the following .htaccess:
php_flag short_open_tag on
php_flag register_globals on
php_value error_reporting "E_ALL ^ E_NOTICE"
During page loads when the error_reporting doesn't get properly
overwritten with the new value, the short_open_tag and
register_globals are always properly set and are not suffering the
same problem. A good portion of my sites also change the include_path
via ini_set(), and I haven't had a single issue with any of those. It
appears that this is specific to the error_reporting ini value and
isn't affecting any of the other ini values.
It should be noted that sites that use a php_admin_value
error_reporting in a <VirtualHost> block have been reported (yet?) to
have any issues with setting a new local value.
------------------------------------------------------------------------
[2007-09-25 09:20:53] [EMAIL PROTECTED]
Is it just error_reporting ini option you get this problem with?
It is a bit hard to debug, the ini system being what it is..
Do you use php_admin_* flags anywhere in your httpd.conf (or included
parts of it) ??
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42749
--
Edit this bug report at http://bugs.php.net/?id=42749&edit=1