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. 请指教.
为/ Applications / MAMP / tmp / php做同样的事情 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |