- 论坛徽章:
- 0
|
小弟用vm安装apache和php.本机没有网络.vm的网络连接选择的是从主机连接.DHCP指定的是192.168.35.128
启动apache后.提示:
Could not determine the server's fully qualified domain name,using
127.0.0.1 for ServerName
如果是修改
httpd.conf里面
#ServerName www.example.com:80
还有
#<VirtualHost *:80>;
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog /var/log/dummy-host.example.com-error_log
# CustomLog /var/log/dummy-host.example.com-access_log common
#</VirtualHost>;
是修改哪些地方.谢谢!
请帮忙解决.跪拜!! |
|