加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

php – 文件系统不可写

发布时间:2020-12-13 13:46:20 所属栏目:PHP教程 来源:网络整理
导读:我成功地在Web主机中安装了Drupal 7. 安装模块后,出现错误错误,状态报告给出了以下错误消息: File system Not writableThe directory /Applications/MAMP/tmp/php does not exist.You may need to set the correct directory at the file system settings p
我成功地在Web主机中安装了Drupal 7.
安装模块后,出现错误错误,状态报告给出了以下错误消息:
File system Not writable
The directory /Applications/MAMP/tmp/php does not exist.
You may need to set the correct directory at the file system settings page or
change the current directory's permissions so that it is writable.

我检查(sites / default / files)的权限,它有755权限,我将其更改为777但没有任何反应,所以我将其返回.

我有(主页?管理?配置?媒体)的以下设置:

Public file system path
sites/default/files

Temporary directory
/Applications/MAMP/tmp/php

这是我得到的错误:

Warning: file_put_contents(temporary://fileDyFbDg) [function.file-put-contents]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1898 of /home/imamus/public_html/includes/file.inc).
The file could not be created.
Warning: file_put_contents(temporary://fileeTFMpl) [function.file-put-contents]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1898 of /home/imamus/public_html/includes/file.inc).
The file could not be created.
Warning: file_put_contents(temporary://fileuB8Tdu) [function.file-put-contents]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1898 of /home/imamus/public_html/includes/file.inc).
The file could not be created.
Warning: file_put_contents(temporary://filea1KYXG) [function.file-put-contents]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1898 of /home/imamus/public_html/includes/file.inc).
The file could not be created.

请指教.

I check the permissions for (sites/default/files) and it has 755 permissions and I change it to 777 but nothing happened so I return it back.

为/ Applications / MAMP / tmp / php做同样的事情

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读