可写文件夹问题

时间:2019-04-23 22:33:10

标签: permissions centos7

我正在尝试在本地centos7服务器上安装phpBB3, 我已更改所需文件夹的权限,但仍然有错误。

ClientRegistrationRepository

我在终端中添加此代码,以查看文件是否正常。

Directory is not writable To be able to install phpBB the cache/ directory needs to be writable. Directory is not writable To be able to install phpBB the store/ directory needs to be writable. Directory is not writable To be able to install phpBB the files/ directory needs to be writable. File is not writable To be able to install phpBB the config.php file needs to be writable. Directory is not writable It is recommended that the images/avatars/upload/ directory be writable for a better forum user experience.

它生成此:

ls -ld cache store files config.php images/avatars/upload

希望有人可以帮助我,我现在陷入困境

1 个答案:

答案 0 :(得分:0)

我敢打赌,您需要更改文件/文件夹的所有权以匹配运行apache服务器的用户帐户...很可能是apache。

IE:chown apache:apache config.php