您好,登錄后才能下訂單哦!
configure錯誤提示1:
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
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。