php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16138 .htaccess / httpd.conf and error_reporting constants
Submitted: 2002-03-18 04:24 UTC Modified: 2013-10-28 07:10 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: goba@php.net Assigned: krakjoe (profile)
Status: Closed Package: *General Issues
PHP Version: 4.1.0 OS: win2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: goba@php.net
New email:
PHP Version: OS:

 

 [2002-03-18 04:24 UTC] 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...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-07 04:15 UTC] 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-06-07 04:19 UTC] goba@php.net
Just discard my prev message, I am not completely OK now.....
 [2003-04-09 11:31 UTC] philip@php.net
On a related note, this "non-feature" has been documented for about six months now.
 [2013-10-28 07:10 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: krakjoe
 [2013-10-28 07:10 UTC] krakjoe@php.net
This is fixed, closing the bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 15 00:01:28 2024 UTC