2012-08-12 72 views
-2

我碰到了奇怪的服务器(或cms)行为。有joomla 1.0.15安装。我发现它会在一段时间后清除session.save_path文件夹(所有会话文件)。我试图在htaccess中将session.save_path文件夹更改为另一个文件夹,可能是一些cron脚本(目录已成功更改,会话文件在该新文件夹中创建),但它一次又一次地发生。有人有什么想法吗?什么可以从session.save_path文件夹立即删除所有会话文件

Joomla 1.0.15 
System Linux n11 3.2.6mtv10 #1 SMP Wed Apr 4 09:28:15 PDT 2012 x86_64 
Configure Command 
'./configure''--prefix=/usr/local/php-5.3.13' 
'--enable-cli''--enable-cgi' 
'--enable-fastcgi''--disable-debug' 
'--disable-rpath''--disable-static' 
'--with-pic''--with-openssl=/usr' 
'--enable-bcmath''--with-bz2' 
'--enable-calendar''--enable-ctype' 
'--with-curl''--with-db4' 
'--with-zlib-dir=/usr''--with-xsl' 
'--enable-exif''--enable-ftp' 
'--with-gd''--with-ttf' 
'--with-mime-magic=/usr/share/file/magic.mime' 
'--enable-gd-native-ttf''--with-jpeg-dir=/usr' 
'--with-png-dir=/usr''--with-freetype-dir=/usr' 
'--with-gettext''--with-iconv' 
'--with-imap''--with-kerberos=/usr' 
'--with-imap-ssl=/usr''--enable-mbstring' 
'--with-mhash''--with-mysql=/usr/bin/mysql_config' 
'--with-mysqli=/usr/bin/mysql_config''--with-pcre-regex=/usr' 
'--with-pgsql''--with-pspell=/usr' 
'--enable-sockets''--enable-wddx' 
'--with-xmlrpc''--with-zlib=/usr' 
'--with-pear''--with-layout=GNU' 
'--with-ldap''--with-sqlite' 
'--enable-pdo''--with-pdo-mysql=/usr' 
'--with-pdo-pgsql=/usr''--enable-soap' 
'--with-mcrypt''--with-pcre-regex=/usr' 
+2

哪个操作系统/ Linux发行版是您使用托管?一些软件包管理员知道操作系统正在使用不同的会话保存路径,因此安装一个cron作业来清理它以获得舒适。该cron作业可能会针对* your *配置运行。所以请分享。 – hakre 2012-08-12 21:40:17

+0

您是否确认新会话save_path正在运行(会话文件显示在那里?) – 2012-08-12 21:46:21

+0

您能成功更改'session.save_path'吗?这在你的问题中并不清楚。 – hakre 2012-08-12 21:50:55

回答

0

这是一个服务器的问题,只是转移到另一个