#33043 [NEW]: session_start results in page not found
| From: | kraj at illumen dot com | Date: | Mon, 16 May 2005 19:17:45 +0000 |
| Subject: | #33043 [NEW]: session_start results in page not found | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-79055@lists.php.net to get a copy of this message | ||
From: kraj at illumen dot com
Operating system: FreeBSD 4.8 Release
PHP version: 4.3.11
PHP Bug Type: Session related
Bug description: session_start results in page not found
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
--
Edit bug report at http://bugs.php.net/?id=33043&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33043&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33043&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33043&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33043&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33043&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33043&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33043&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33043&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33043&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33043&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33043&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33043&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33043&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33043&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33043&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33043&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33043&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33043&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33043&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33043&r=mysqlcfg