configure錯誤提示1:
創(chuàng)新互聯(lián)建站,專注為中小企業(yè)提供官網(wǎng)建設(shè)、營銷型網(wǎng)站制作、成都響應(yīng)式網(wǎng)站建設(shè)、展示型成都網(wǎng)站制作、成都網(wǎng)站建設(shè)等服務(wù),幫助中小企業(yè)通過網(wǎng)站體現(xiàn)價值、有效益。幫助企業(yè)快速建站、解決網(wǎng)站建設(shè)與網(wǎng)站營銷推廣問題。
configure:error: in `/usr/local/src/httpd-2.2.21/srclib/apr':
configure:error: no acceptable C compiler found in $PATH
See `config.log'for more details.
解決方法:
yum install -y gcc
configure錯誤提示2:
checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
解決方法:
yum install -y zlib-devel
make前為了防止報錯可先安裝一些庫文件:
yum install -y pcre pcre-devel apr apr-devel
啟動Apache錯誤提示:
httpd: Could not reliably determine the server's fully qualified domain name, using 180.16 8.41.175 for ServerName
解決方法:
vim /usr/local/apache2/conf/httpd.conf ServerName www.example.com:80 //去掉前面的注釋符# 如下 ServerName www.example.com:80