创建了一个httpd服务器,但样本页面未加载

时间:2016-03-09 21:27:12

标签: php apache httpd.conf

我获得了一个服务器来为我们的服务创建一个测试站点,这是我第一次尝试这样做,所以我做了很多研究,最后我发现这个page提供了很好的指导,但即使尝试了所有这些我无法加载我的简单index.php页面,我得到的只是一个超时错误页面

我尝试运行调试,但我收到的是以下警告

httpd -X
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00058: Error retrieving pid file /run/httpd/httpd.pid
AH00059: Remove it before continuing if it is corrupted.

从我看来,这是一个警告。我将权限更改为/ var / www文件夹中的文件,以便用户可以读取和执行。是否有另一种方法来运行调试并找出我的样本页面http://www.example.com/index.php未加载的原因。

我确定问题在于我使用服务器进行设置,而且我非常绝望地发布。

0 个答案:

没有答案