[Mon Jul 30 14:09:06 2007] [error] (EAI 2)Name or
下面我们将ServerName字段加上去,后面的名称我们随意写
<VirtualHost 192.168.0.111>
ServerAdmin [email]hong.yao@infonaligy.com[/email]
DocumentRoot /var/www/html/s1
ServerName s1
ErrorLog logs/dbpi_web-error_log
TransferLog logs/dbpi_web-access_log
</VirtualHost>
2.启动apache时会有警告
Starting httpd: httpd: apr_sockaddr_info_get() failed
httpd: Could not determine the server's fully qualified
还是能够正常的启动和访问,只是有这个问题.
解决:
#ServerName [url]www.example.com:80[/url] 将这句话修改如下
ServerName 192.168.0.111 当然根据你的实际情况修改为本机
3.错误:
[warn] module php5_module is already loaded, skipping
这个错误是由于/etc/httpd/conf/httpd.conf的 Include