PHP 4.0 Bug #4360: Session files empty
| From: | cortex at execpc dot com | Date: | Tue, 09 May 2000 19:43:15 +0000 |
| Subject: | PHP 4.0 Bug #4360: Session files empty | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18541@lists.php.net to get a copy of this message | ||
From: cortex@execpc.com
Operating system: FreeBSD 4.0
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Misbehaving function
Bug description: Session files empty
/* The following script does not work.
* $count is never incremented from page to page
* Session files in /tmp are 0 bytes, yet
* are read/writable by the Apache user!
*/
<?php
session_register("count");
$count++;
?>
<p>Been here <?php echo $count; ?> times.</p>
<p><a href="<?php echo $PHP_SELF;
?>?<?=SID?>">Continue</a></p>
/* End of script */
Configure command: './configure' '--enable-track-vars'
'--with-apxs=/usr/local/sbin/apxs' '--enable-bcmath' '--with-ftp'
'--with-gd=/usr/local' '--with-gettext' '--with-ttf'
'--with-mysql' '--with-config-file-path=/usr/local/etc' '--with-ldap'
## php.ini session portion ##
session.save_handler = files
session.save_path = /tmp
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
Running Apache 1.3.12+PHP4.0RC1+SSL
No other known PHP-related issues