在CentOS 7上安装wordpress时出错

时间:2016-04-13 10:56:28

标签: wordpress centos7

我在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] [:error] [pid 23495] [client 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] [:error] [pid 23497] [client 5.79.100.165:49709] PHP警告:未知:无法打开流:第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致命错误:未知:未能打开所需的'/home/Soluna/homepages/stormcloud/index.php' (include_path ='。:/ usr / share / pear:/ usr / share / php')在第0行的Unknown中 [Wed Apr 13 12:16:21.985259 2016] [:error] [pid 23495] [client 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/stormcloud/index.php' (include_path ='。:/ usr / share / pear:/ usr / share / php')在第0行的未知中

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

1 个答案:

答案 0 :(得分:0)

他们的关键是

  

许可被拒绝

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