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
 [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

Pull Requests

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 Dec 26 15:01:32 2024 UTC