php – 文件系统不可写

前端之家收集整理的这篇文章主要介绍了php – 文件系统不可写前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我成功地在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做同样的事情

原文链接:https://www.f2er.com/php/138632.html

猜你在找的PHP相关文章