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 /tmp
d-wx--x--- 2 apache apache 17408 Apr 3 11:14 php


There 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



Reply via email to