Bug #14826 Updated: 4.1.0 on powerpc doesn't save session variables
| From: | yohgaki@php.net | Date: | Thu, 10 Jan 2002 02:39:11 +0000 |
| Subject: | Bug #14826 Updated: 4.1.0 on powerpc doesn't save session variables | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76425@lists.php.net to get a copy of this message | ||
ID: 14826
Updated by: yohgaki
Old Summary: 4.1.0 on powerpc doesn't save session variables
Reported By: teixi@6tems.com
Old Status: Open
Status: Feedback
Bug Type: Session related
Operating System: Debian Linux 2.2.19 ppc
PHP Version: 4.1.0
New Comment:
What about permission of save_path? Is it world writable?
Previous Comments:
------------------------------------------------------------------------
[2002-01-09 05:28:09] teixi@6tems.com
yep session related paths and setups are the same on both installs but
just ppc doesnt' works with session vars
------------------------------------------------------------------------
[2002-01-04 12:30:57] sander@php.net
Are you sure the session-related paths in your php.ini are correct?
------------------------------------------------------------------------
[2002-01-03 10:12:03] teixi@6tems.com
4.1.0 on powerpc doesn't save session variables
apache 1.3.22 scripts like this sample doesn't save session varibles,
but when run on intel platform with same php.ini, same php and apache
versions, it works saving session variables.
---------
<?php
session_start();
// session variable to store the counter.
session_register('counter');
// session variable to store the value when the page was last loaded;
// this value is maintained so that difference can be calculated.
session_register('timeAtLastLoad');
// current time
$timeNow = time();
// increment counter
$counter++;
// calculate the time lapsed from last visit.
$timeLapsed = $timeNow - $timeAtLastLoad;
// display appropriate message
if($counter > 1)
{
echo "<b>It's been $timeLapsed seconds since you last viewed
this
page.</b>";
}
else
{
echo "<b>First time here? Reload this page to see how the
session
works!</b>";
}
$timeAtLastLoad = $timeNow;
?>
-------
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14826&edit=1