ID:               22630
 Updated by:       [EMAIL PROTECTED]
 Reported By:      birkhofer at vseth dot ethz dot ch
-Status:           Open
+Status:           Feedback
 Bug Type:         Session related
 Operating System: Linux-ppc (Debian)
 PHP Version:      4.3.1
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2003-03-11 02:50:22] birkhofer at vseth dot ethz dot ch

This bug exists in 4.3.0 and 4.3.1 but *not* in 4.2.3. I installed
4.2.3 over 4.3.1. 

./configure --with-ldap --with-mysql --with-apxs

<?
session_start();
if ( session_is_registered( "foo" )) echo $_SESSION["foo"];
$_SESSION["foo"] = "bar";
?>

Problem: session_start() generates the error

session_start(): read returned less bytes than requested in
/var/www/session.php on line 2

the 2nd++ time the page is loaded.

- If no Session variable is set there's no error
- /tmp/sess_.. looks fine:
    foo|s:3:"bar";


PHP is the only 'custom' software, all the other apps are part of
Debian stable. The box is a PowerMac (ppc). 

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


-- 
Edit this bug report at http://bugs.php.net/?id=22630&edit=1

Reply via email to