php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25198 error_reporting() seems to affect whole server
Submitted: 2003-08-21 12:40 UTC Modified: 2003-08-25 22:52 UTC
From: red at raven dot ch Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.3.3 OS: linux (redhat 9) apache 2.0.47
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: red at raven dot ch
New email:
PHP Version: OS:

 

 [2003-08-21 12:40 UTC] red at raven dot ch
Description:
------------
The global configuration shows the following:

error_reporting	2039	2039

when 2 scripts in 2 differents virtualhosts run at the same time and the first one sets error_reporting(E_ALL) and the second one starts before the first ended (and doesn't set error_reporting) it shows the notices as well.

./configure  --with-apxs2=/usr/local/apache2/bin/apxs --enable-xml --with-gd --with-png-dir=/usr --with-jpeg-dir=/usr --enable-track-vars --enable-force-cgi-redirect --with-gettext --with-mysql=/usr --with-zlib-dir=/usr --enable-sysvshm --enable-sysvsem --with-xslt --with-ttf --with-freetype-dir=/usr/local --enable-gd-native-ttf --disable-cgi --with-dom --with-dom-xslt --with-iconv


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-21 18:52 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Also, what was the configure line you used for Apache2? 

 [2003-08-22 00:21 UTC] red at raven dot ch
hm, this is a server with about 40 domains running on it. so I don't really like the idea of running a cvs-snapshot (or release-candidate). well, I will try to recreate this one on my development-server.

apache2 configuration:

./configure --enable-so --enable-rewrite --enable-proxy
 [2003-08-25 16:11 UTC] red at raven dot ch
just installed php-4.3.3; still the same problem...
 [2003-08-25 22:52 UTC] iliaa@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

This bug appears to happen for the same reason as bug #24282. Let's try to keep the discussion of this issue in one place.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 12:01:32 2024 UTC