一、安裝apache2.2.8
首先去http://www.apache.org網(wǎng)站上下載apache2.2.8源碼包
解壓縮
#tar zxvf httpd-2.2.8.tar.gz
得到 httpd-2.2.8文件夾
#cd httpd-2.2.8
配置
#./configure --prefix=/usr/local/apache --enable-so --enable-module=rewrite
編譯
#make
安裝
#make install
安裝完成
測試一下安裝效果
#cd /usr/local/apache
#cd bin
# ./apachectl start
httpd: apr_sockaddr_info_get() failed for
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Apr 03 09:37:41 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
出現(xiàn)上述提示
#vi /usr/local/apache/conf/httpd.conf
修改SeverName一項即可解決(1)錯誤提示
產(chǎn)生(2)的原因是:FreeBSD 系統(tǒng)還提供了http filter,會自動過濾掉不完整的HTTP請求。
一、安裝apache2.2.8
首先去http://www.apache.org網(wǎng)站上下載apache2.2.8源碼包
解壓縮
#tar zxvf httpd-2.2.8.tar.gz
得到 httpd-2.2.8文件夾
#cd httpd-2.2.8
配置
#./configure --prefix=/usr/local/apache --enable-so --enable-module=rewrite
編譯
#make
安裝
#make install
安裝完成
測試一下安裝效果
#cd /usr/local/apache
#cd bin
# ./apachectl start
httpd: apr_sockaddr_info_get() failed for
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Apr 03 09:37:41 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
出現(xiàn)上述提示
#vi /usr/local/apache/conf/httpd.conf
修改SeverName一項即可解決(1)錯誤提示
產(chǎn)生(2)的原因是:FreeBSD 系統(tǒng)還提供了http filter,會自動過濾掉不完整的HTTP請求。
標(biāo)簽:信陽 達(dá)州 德陽 梧州 廣元 晉中 張家界 烏蘭察布
巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Freebsd7.0 Apache2.2+MySQL5+PHP5安裝和配置方法》,本文關(guān)鍵詞 Freebsd7.0,Apache2.2+MySQL5+PHP5,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。