/var/php_sessions未被识别
问题描述:
我正在尝试将Joomla设置为我制作的网站的CMS。 我有Globat托管的网站。当我尝试安装Joomla时,我收到了这条消息。/var/php_sessions未被识别
警告:未知: 打开(在/ var/php_sessions/sess_cc24fb3a1ba0e66a653237dd88762ac6,O_RDWR) 失败:(2)在未知在线0警告没有这样的文件或目录: 未知:无法写入会话数据(文件)。请确认的session.save_path的 当前设置是正确的(在/ var/php_sessions)在 未知在线0
我检查了PHP ini文件的php_session行,它似乎像它应该。这是片段。
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
; session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
; http://php.net/session.save-path
session.save_path = "/var/php_sessions"
; Whether to use cookies.
; http://php.net/session.use-cookies
session.use_cookies = 1
有没有人有任何想法,为什么我会得到这个错误?它看起来像save_path是它应该是。
谢谢!
该目录是否存在? – aynber
我会这样认为,但我不太确定。我对服务器信息的访问权限有限。 (这只是一个简单的网站服务器计划)。我得到的信息是'PHP的路径: /usr/local/bin/php' – Frantumn
我想说联系Globat,让他们看看php.ini并确保该文件夹存在。 – aynber