php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41362 Scripts with Sessions do not work
Submitted: 2007-05-11 07:09 UTC Modified: 2007-05-12 08:58 UTC
From: splith at helper3000 dot net Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.4.7 OS: Windows Server 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: splith at helper3000 dot net
New email:
PHP Version: OS:

 

 [2007-05-11 07:09 UTC] splith at helper3000 dot net
Description:
------------
Any page with "session_start();" will give a blank page in PHP 4.4.7 whereas they worked fine before the upgrade. I reported the same error for PHP 4.4.5 and you said it was bogus showing you were rather ignorant, so lets hope this goes better.

Reproduce code:
---------------
<?
session_start();
echo "test";
?>

Expected result:
----------------
test

Actual result:
--------------
*blank, nothing*

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-11 07:11 UTC] splith at helper3000 dot net
Forgot to add: Using Apache 2.0.58 and PHP 4.4.7 with apache2 dll on windows server 2003, sessions seem to work on SSL but not on port 80
 [2007-05-11 08:04 UTC] tony2001@php.net
"blank, nothing" most likely means you've incorrectly configured your web-server.
We can't figure it out it for you, so you should to it yourself.
 [2007-05-11 15:02 UTC] splith at helper3000 dot net
no, as I have said, PHP 4.4.4 worked PERFECTLY, 4.4.5 sessions didnt work, in-fact nothing really did, 4.4.7 sessions work on SSL which uses the same PHP.INI and apache configuration as the main site, but the main site does not work when any session syntax is used. This is not a configuration error, I have tried the default INIs provided in the zip to no sucess and you always blame me, try finding the problem instead of just denying that it exists
 [2007-05-11 15:14 UTC] tony2001@php.net
There were no changes to sessions in PHP4 for years.
Fix your browser and web-server.
 [2007-05-12 08:58 UTC] splith at helper3000 dot net
well when someone closed my other bug report as being bogus, I got an email:
"Hey, did you ever find out how to fix this?  Did the 4.4.6-dev work?  I
have sort of the same problem.  PHP 4.4.5 segfaults under Apache 1.3 as
soon as
sessions are used.  Its session related.  As soon as you do a
session_register call it dies.

Scott.

--
PHP Sessions on SSL fail to work, once set them seem to just dissapear
and when reverting to PHP 4.4.4 works absolutely fine. MySQL fails to
work on non-localhost servers, the page tries to load for a minute and
returns a "Connection Reset" error message whereas as it works perfectly
on PHP 4.4.4"

and if you havent changed sessions in years, why have "Fixed possible safe_mode & open_basedir bypasses inside the session extension." under list of changes ? and "Fixed possible overflows and stack corruptions in the session extension." because to me, you have changed sessions
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 11:00:01 2025 UTC