在CentOS 7上安装wordpress时出错

问题描述 投票:0回答:1

我在centos 7上安装wordpress时遇到了问题。我使用本指南安装它因为我对linux很新:

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-centos-7

我一步一步地做了一切,但没有用。所以我决定重新安装我的根服务器因为我想要一台新的干净机器,我可以再试一次。然后我用这个指南来安装它:

http://www.linuxveda.com/2015/09/15/install-wordpress-centos-7/

与以前相同的错误..

我的error_log中的最后一个条目是:

[Wed Apr 13 12:16:06.794902 2016] [:error] [pid 23495] [client 66.249.93.167:41393] PHP警告:未知:未能打开流:在第0行的未知权限被拒绝[Wed Apr 13 12: 16:06.794974 2016] [:错误] [pid 23495] [客户端66.249.93.167:41393] PHP致命错误:未知:未能打开所需的'/home/Soluna/homepages/stormcloud/index.php'(include_path =': / usr / share / pear:/ usr / share / php')在第0行的Unknown中[Wed Apr 13 12:16:07.352614 2016] [:error] [pid 23496] [client 79.196.171.71:51928] PHP警告:未知:未能打开流:第0行的未知权限被拒绝[Wed Apr 13 12:16:07.352706 2016] [:error] [pid 23496] [client 79.196.171.71:51928] PHP致命错误:未知:需要打开失败'/home/Soluna/homepages/stormcloud/index.php'(include_path ='。:/ usr / share / pear:/ usr / share / php')在第0行的Unknown中[Wed Apr 13 12:16:07.671419 2016 ] [:错误] [pid 23497] [客户端5.79.100.165:49709] PHP警告:未知:无法打开流:在“未知”中权限被拒绝ne 0 [Wed Apr 13 12:16:07.671488 2016] [:error] [pid 23497] [client 5.79.100.165:49709] PHP致命错误:未知:未能打开所需的'/ home / Soluna / homepages / stormcloud / index。 php'(include_path ='。:/ usr / share / pear:/ usr / share / php')在第0行的Unknown中[Wed Apr 13 12:16:18.058248 2016] [:error] [pid 23494] [client 79.196 .171.71:51933] PHP警告:未知:未能打开流:第0行的未知权限被拒绝[Wed Apr 13 12:16:18.058303 2016] [:error] [pid 23494] [client 79.196.171.71:51933] PHP致命错误:未知:在第0行的未知中打开所需的'/home/Soluna/homepages/stormcloud/index.php'(include_path ='。:/ usr / share / pear:/ usr / share / php')失败4月13日12:16:21.985259 2016] [:错误] [pid 23495] [客户端79.196.171.71:51934] PHP警告:未知:无法打开流:第0行的未知权限被拒绝[Wed Apr 13 12:16: 21.985311 2016] [:error] [pid 23495] [client 79.196.171.71:51934] PHP致命错误:未知:未能打开所需'/ home / Soluna / homepages /第0行的Unknown中的stormcloud / index.php'(include_path ='。:/ usr / share / pear:/ usr / share / php')

谁能帮我?从现在开始我没有在服务器上安装任何东西,除了teamspeak 3.在我的旧根服务器(Hetzner Online)上一切运行良好,但现在它不...任何想法如何解决它?我已经更改了所有wordpress文件的权限,但仍然是同样的错误..

wordpress centos7
1个回答
0
投票

关键是

没有权限

检查文件夹和文件存储wordpress文件的权限,apache应该能够读取它们。

© www.soinside.com 2019 - 2024. All rights reserved.