我在Web应用程序(OpenCart)的日志文件中产生以下错误。有没有人看过这个?或者我可以忽略这个“有点已知的错误”?我尝试以下有关此特定错误的其他职位,但没有成功:会话错误 - Permisison被拒绝(13)
PHP的通知:在session_start():ps_files_cleanup_dir:执行opendir(在/ var/lib中/ PHP /会话)失败:权限被拒绝(13)
在这种奉献服务器的会话文件夹,我看到:
-rw------- 1 apache apache 48 Mar 5 19:21 sess_0pl62elpgn43rjakfh6em2v2n5
-rw------- 1 apache apache 48 Mar 5 19:33 sess_2vo41urqek50ef9nl1429879i3
-rw------- 1 apache apache 125 Mar 5 18:59 sess_35goisejg3asq4n4hntcsgofu6
-rw------- 1 apache apache 48 Mar 5 19:16 sess_4cgkdiqfqgfgje356uoem0r7s3
-rw------- 1 apache apache 48 Mar 5 19:33 sess_5ji1i4kppt6ara43v8jdflcgh6
-rw------- 1 apache apache 48 Mar 5 19:34 sess_5sbl2o6ndpphh8jqogrb12v6j1
.
.
LAMP,CentOS 5的,PHP 5.2
文件夹的权限是错误的,服务器无法读取它。 – Prix
在CentOS专用服务器上有同样的问题,你有没有想过问题是什么? – farjam
[可能与PHP 5.3和会话文件夹有关的问题](http://stackoverflow.com/questions/2904862/issues-with-php-5-3-and-sessions-folder) – Sjon