|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-11 00:47 UTC] cortex at execpc dot com
[2000-06-13 09:41 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 11:00:02 2025 UTC |
/* 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