php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23468 warning with error_reporting E_ALL
Submitted: 2003-05-03 14:06 UTC Modified: 2003-05-06 04:41 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: harry at rhsoft dot net Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.1 OS: Windows 2000 Server
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: harry at rhsoft dot net
New email:
PHP Version: OS:

 

 [2003-05-03 14:06 UTC] harry at rhsoft dot net
Hey
On my development server is error reporting at E_ALL and since i use sessions sometimes but not alwas i get the following warning what makes me angry

i have turned off session.bug_compat_warn and session.bug_compat_42 in php.ini but it doenst change anything

what i dont understand in the warning is that i use php 4.3.1 and register_globals is off

-----------------------------

Warning: Unknown():
Your script possibly relies on a session side-effect which existed
until PHP 4.2.3. Please be advised that the session extension does not consider
global variables as a source of data, unless register_globals is enabled.

You can disable this functionality and this warning by setting session.bug_compat_42
or session.bug_compat_warn to off, respectively. in Unknown on line 0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-05 16:43 UTC] sniper@php.net
Just make sure your php.ini is actually read by PHP.

 [2003-05-06 04:41 UTC] harry at rhsoft dot net
The PHP.INI is actually read by php because phpinfo(); shows session.bug_compat_42 and session.bug_compat_warn as off

i edit my php.ini with a software developed by myself who copy it on all os-systems and related folders with one step
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 17:00:01 2026 UTC