Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/264.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 什么可以一次从session.save_path文件夹中删除所有会话文件_Php_Session_Joomla - Fatal编程技术网

Php 什么可以一次从session.save_path文件夹中删除所有会话文件

Php 什么可以一次从session.save_path文件夹中删除所有会话文件,php,session,joomla,Php,Session,Joomla,我遇到了奇怪的服务器(或cms)行为。安装了joomla 1.0.15。我注意到它会在一段时间后清除session.save_path文件夹(所有会话文件)。我试图将session.save_path文件夹更改为htaccess中的另一个文件夹,认为可能是某个cron脚本(目录已成功更改,会话文件已在该新文件夹中创建),但这种情况一再发生。有人知道那是什么吗 Joomla 1.0.15 System Linux n11 3.2.6mtv10 #1 SMP Wed Apr 4 09:28:15

我遇到了奇怪的服务器(或cms)行为。安装了joomla 1.0.15。我注意到它会在一段时间后清除session.save_path文件夹(所有会话文件)。我试图将session.save_path文件夹更改为htaccess中的另一个文件夹,认为可能是某个cron脚本(目录已成功更改,会话文件已在该新文件夹中创建),但这种情况一再发生。有人知道那是什么吗

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' 

这是一个服务器问题,刚刚转移到另一个主机

您使用的是哪个操作系统/linux发行版?一些软件包管理器知道操作系统使用的是不同的会话保存路径,因此安装cron作业来清理它。该cron作业可能会针对您的配置运行。因此,请共享。您是否验证了新会话保存路径是否正常工作(会话文件显示在其中?)能否成功更改
会话。保存路径
?你的问题不清楚。@hakra啊,是的,对不起。这是成功的,并且在我在.htaccess中设置的新文件夹中创建了新的会话文件。即使它实际上可能不相关,但您使用的是哪个操作系统?更多的信息实际上有助于就如何解释你的经历和询问提供更好的建议。