php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33043 session_start results in page not found
Submitted: 2005-05-16 21:17 UTC Modified: 2005-05-17 00:09 UTC
From: kraj at illumen dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.11 OS: FreeBSD 4.8 Release
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: kraj at illumen dot com
New email:
PHP Version: OS:

 

 [2005-05-16 21:17 UTC] kraj at illumen dot com
Description:
------------
I just upgraded to 4.3.11 and installed Zend Optimizer.  I turned Zend Optimizer off to see if this was he cause of the problems - which it was not.
Web server is running:
Apache/1.3.33 (Unix) mod_perl/1.29 PHP/4.3.11 
Problem was just reported by a customer who istalled the aMember package on the server.  AFter much testing we isolate the problem to sessions.
Sessions is set to use files, in the /tmp directory, which has full access (777).  When I access a page which has session_start, I see that 2 session files are created.  Both have zero length.
Also, when I set session.autostart to 1 php pages return a page not found error.
Any assistance in tracking down the problem will be deeply appreciated.

session
Session Support  enabled  
Registered save handlers  files user  

Directive Local Value Master Value 
session.auto_start Off Off 
session.bug_compat_42 Off Off 
session.bug_compat_warn On On 
session.cache_expire 180 180 
session.cache_limiter nocache nocache 
session.cookie_domain no value no value 
session.cookie_lifetime 0 0 
session.cookie_path / / 
session.cookie_secure Off Off 
session.entropy_file no value no value 
session.entropy_length 0 0 
session.gc_divisor 1000 1000 
session.gc_maxlifetime 1440 1440 
session.gc_probability 1 1 
session.name PHPSESSID PHPSESSID 
session.referer_check no value no value 
session.save_handler files files 
session.save_path /tmp /tmp 
session.serialize_handler php php 
session.use_cookies On On 
session.use_only_cookies Off Off 
session.use_trans_sid Off Off 



Reproduce code:
---------------
<?
session_start();
phpinfo();
?

Expected result:
----------------
phpinfo will be displayed

Actual result:
--------------
page not found

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-16 21:21 UTC] kraj at illumen dot com
Just checked the httpd error log.
The following is being reported:

Mon May 16 13:09:45 2005] [notice] child pid 74721 exit signal Bus error (10)
 [2005-05-16 22:02 UTC] sniper@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2005-05-16 23:06 UTC] kraj at illumen dot com
Sniper,

I isolated the problem.  Apparently, when I updated to 4.3.11 and ran a portupgrade on the php4-extensions port, it did not upgrade the individual libraries.  I went back with portversion to check the library revisions and found that they were out of date.  Once I individually upgraded all of the librariwes everything sytarted working as we expect.

Thank you for your assistance, and I apologie for not having checked that first.
 [2005-05-17 00:09 UTC] tony2001@php.net
No bug -> bogus.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 11:01:36 2025 UTC