php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23443 php_admin_value error_reporting
Submitted: 2003-05-01 15:32 UTC Modified: 2003-05-01 15:34 UTC
From: greg at mtechsolutions dot ca Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.1 OS: redhat 8.0
Private report: No CVE-ID: None
 [2003-05-01 15:32 UTC] greg at mtechsolutions dot ca
This was tested in apache, not sure if it happens in other servers or not, or if it's even applicable.

If I add:

php_admin_value error_reporting E_ALL

in httpd.conf, I don't see any errors in output via the webserver.

It shows up in phpinfo() as "E_ALL". When it's set to E_ALL in php.ini, it shows up as "2047". Seemingly, what is happening is it's not interpreting the constant when it parses httpd.conf.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-01 15:34 UTC] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

As Apache doesn\'t know about PHP\'s constants this is expected, it just passes a string \"E_ALL\" to PHP, and not the constant value it represents (2047).


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 06:01:34 2024 UTC