php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12828 error_reporting in apache conf is broken
Submitted: 2001-08-18 17:10 UTC Modified: 2001-10-20 19:43 UTC
From: SL at sentientnetware dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 + 22 = ?
Subscribe to this entry?

 
 [2001-08-18 17:10 UTC] SL at sentientnetware dot com
php_value error_reporting E_ALL does not work in the apache httpd.conf.  In fact, no matter what the setting...all errors are not shown and not logged.

When I look at phpinfo(), the global error_reporting level is represented by a number...like 2039 (which is E_ALL & ~E_NOTICE)

But the local error_reporting just says E_ALL.  I'm thiking when set from the conf, php doesn't change E_ALL to the proper bit-value.

I just tried:
php_value error_reporting 2047 (the value of E_ALL) in the .conf and it works!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-20 19:43 UTC] sniper@php.net
This is mentioned in the manual:

http://www.php.net/manual/en/configuration.php

Not a bug.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC