匿名用户 提问于 2015-12-11

Warning in ./libraries/session.inc.php#101
session_start(): open(/tmp/session/sess_r8eletil995p9hibq3296k8tdfapdnug, O_RDWR) failed: No such file or directory (2)

Backtrace

./libraries/session.inc.php#101: session_start()
./libraries/common.inc.php#350: require(./libraries/session.inc.php)
./index.php#12: require_once(./libraries/common.inc.php)
Warning in ./libraries/session.inc.php#131
session_regenerate_id(): open(/tmp/session/sess_5djf623hla1096rirrin3so0k370i87u, O_RDWR) failed: No such file or directory (2)

Backtrace

./libraries/session.inc.php#131: session_regenerate_id(boolean true)
./libraries/common.inc.php#878: PMA_secureSession()
./index.php#12: require_once(./libraries/common.inc.php)
Catchable Fatal Error in ./libraries/session.inc.php#131
session_regenerate_id(): Failed to create(read) session ID: files (path: /tmp/session)

Backtrace

./libraries/session.inc.php#131: session_regenerate_id(boolean true)
./libraries/common.inc.php#878: PMA_secureSession()
./index.php#12: require_once(./libraries/common.inc.php)

2 答案

发布
匿名用户 2015-12-11

session目录的权限问题
访问phpMyAdmin的时候,出现如下错误。

 
 

1
2

Warning in ./libraries/session.inc.php#101
session_start(): open(/var/lib/php/session/sess_cmse089tsfsnoj02220beduuf1qp21fv, O_RDWR) failed: Permission denied (13)

/var/lib/php/session目录的默认所有者是root组是Apache,因此session目录的所有者。

 
 

1

# chown nginx:nginx /var/lib/php/session

#1
发布
管理员 2015-12-12

我刚刚测试没问题哦?

#2

请登录或者 注册 来提交答案