安装好apache启动httpd服务时,出现httpd: Could not reliably determine the server's fully qualified domain name, using XXX for ServerName. 网上找了不少资料,叫修改安装apache根目录下的httpd/conf/httpd.conf配置文件 1.打开apache_home/httpd/conf/httpd.conf 2.找到 #ServerName www.example.com:80
1. cd /mnt tar zxvf httpd-2.4.10.tar.gz ./configure --prefix=/mnt/apache2 --enable-dav --enable-modules=so APR version or later 解决方案:安装APR与APR-utils 909tar zxvf apr-1.5.1.tar.gz 910 cd apr-1.5.1 911 ./configure 912 make 913 make install -