re:[PHP] 4.3.1 sessions not expiring / garbage collection not working
| From: | Barry Gould | Date: | Fri, 04 Apr 2003 19:10:13 +0000 |
| Subject: | re:[PHP] 4.3.1 sessions not expiring / garbage collection not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142398@lists.php.net to get a copy of this message | ||
Any other ideas on this?
Should I submit it to the bug system?
Thanks,
Barry
Date: Thu, 03 Apr 2003 13:25:16 -0800 Hi, I'm having a problem where session files are not expiring or getting deleted. I'm running RedHat 7.3 (which normally expires sessions fine). I removed the RedHat PHP packages (rpm -e), and compiled and installed PHP 4.3.1 from source. './configure' '--with-mysql' '--with-gd' '--with-zlib-dir=/usr/lib' '--with-apxs=/usr/sbin/apxs' '--with-config-file-path=/etc' I'm using the php.ini-recommended, with ONLY the following changes: display_errors = On session.save_path = /tmp/php session.auto_start = 1 session.entropy_length = 16 session.entropy_file = /dev/urandom Following some documentation I found somewhere on php.net, I have the permissions on /tmp/php equal to 310: ls -l /tmpd-wx--x--- 2 apache apache 17408 Apr 3 11:14 phpThere are hundreds of files in there; many are over 1 week old. I've just tried changing the permissions to 770 (drwxrwx---) and restarting apache; it doesn't seem to be making any difference. apache is apache-1.3.27-2 from RedHat's RPM Any ideas would be appreciated. Thank you, Barry Gould -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php