我从MediaWiki收到以下错误消息,因为升级到1.29.2。 PHP版本:5.6.32(cgi-fcgi)
Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp) in [PATH TO]/includes/session/SessionManager.php on line 469
查看SessionManager.php第469行,我看到这一行:
session_write_close();
在这个函数中:
public function shutdown() {
if ( $this->allSessionBackends ) {
$this->logger->debug( 'Saving all sessions on shutdown' );
if ( session_id() !== '' ) {
// @codeCoverageIgnoreStart
session_write_close();
}
// @codeCoverageIgnoreEnd
foreach ( $this->allSessionBackends as $backend ) {
$backend->shutdown();
}
}
}
我该如何解决这个问题?
其他信息:
PHP版本5.6.32
Linux 2.6.32-696.16.1.el6.x86_64
session.save_path值:/ tmp(这设置为权限777)