Bug #14826 Updated: 4.1.0 on powerpc doesn't save session variables

From: Date: Fri, 11 Jan 2002 03:34:23 +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-76568@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: Your httpd may be segfaulting. Run httpd under gdb see if you get segfault or any. Previous Comments: ------------------------------------------------------------------------ [2002-01-10 11:18:02] teixi@6tems.com umm dosen't seems this here... teixi@satellite:~$ cat /etc/php4/apache/php.ini | grep -i save.path session.save_path = /tmp teixi@satellite:~$ ls -lad /tmp drwxrwxrwt 6 root root 1024 Jan 10 15:52 /tmp teixi@satellite:~$ uname -a Linux satellite 2.2.19 #1 Sat Apr 14 23:20:24 CDT 2001 ppc unknown ------------------------------------------------------------------------ [2002-01-09 21:39:11] yohgaki@php.net What about permission of save_path? Is it world writable? ------------------------------------------------------------------------ [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

« previous php.dev (#76568) next »