php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6109 Misbehavior in apache display_errors control
Submitted: 2000-08-11 08:43 UTC Modified: 2001-01-06 01:06 UTC
From: vincent at aib dot net Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.1pl2 OS: Debian 2.1, kernel 2.0.38, apach
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: vincent at aib dot net
New email:
PHP Version: OS:

 

 [2000-08-11 08:43 UTC] vincent at aib dot net
No matter we set display_errors in php.ini to On or Off, when we add:

php_value display_errors On

inside <VirtualHost> section in apache's httpd.conf, it turns off the display_errors.
If we remove the above line, it will follow the display_errors setting in php.ini
We've confirmed it from a php_info() call.


Script we used to compile PHP
./configure \
--with-apache=../apache_1.3.9 \
--with-mysql \
--with-pgsql \
--with-imap=/usr/local \
--with-ttf=/usr/local \
--with-zlib \
--with-jpeg-dir \
--with-tiff-dir \
--with-zlib-dir \
--with-xml \
--enable-track-vars \
--disable-debug

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-06 01:06 UTC] cynic@php.net
display_errors accepts boolean values, and as such must be used as a parameter to php_flag, not php_value. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 22:01:29 2024 UTC