Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法
一、安装apache2.2.8
首先去http://www.apache.org 网站上下载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
出现上述提示
#vi /usr/local/apache/conf/httpd.conf
修改SeverName一项即可解决(1)错误提示
产生(2)的原因是:FreeBSD 系统还提供了http filter,会自动过滤掉不完整的HTTP请求。
一、安装apache2.2.8
首先去http://www.apache.org 网站上下载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
出现上述提示
#vi /usr/local/apache/conf/httpd.conf
修改SeverName一项即可解决(1)错误提示
产生(2)的原因是:FreeBSD 系统还提供了http filter,会自动过滤掉不完整的HTTP请求。
相关文章
- 这篇文章主要介绍了Unix,BSD,Linux系统三者的区别小结,需要的朋友可以参考下2023-05-03
一些朋友问小编FreeBSD如何添加硬盘?别担心,今天小编就为大家分享FreeBSD添加硬盘的方法,希望对大家会有帮助,有需要的朋友一起去看看吧2017-04-06- 今天小编为大家带来的是Freebsd PF 安装使用详解,希望对大家会有帮助,有需要的朋友一起去看看吧2017-04-06
FreeBSD下zfs: failed with error 6错误如何解决?
最近一些朋友问小编 FreeBSD下zfs: failed with error 6错误如何解决?今天小编要为大家带来的是 FreeBSD下zfs: failed with error 6错误的解决方法,有需要的朋友一起去看2017-04-06- 今天小编要为大家带来的是Unix文件系统和pwd命令实现详解,希望对大家会有帮助,有需要的朋友一起去看看吧2017-04-01
- 今天小编将为大家带来的是Unix中的dot命令详解!希望对大家会有帮助!有需要的朋友一起去看看吧2017-03-22
- 近日!一些朋友对于freebsd时间设置小节存在疑虑!下面小编将为大家带来的是freebsd时间设置小节详解!希望对大家会有帮助!有需要的朋友一起去看看吧2017-03-19
- 今天小编要为大家带来的是grub2引导freebsd详解!希望对大家会有帮助,有需要的朋友一起去看看吧2017-03-19
- 下面小编为大家带来的是FreeBSD10安装内核源代码方法讲解!希望能够帮助到大家!有需要的朋友一起去看看吧2017-03-19
FreeBSD下如何使GraphicsMagick支持中文字体?
最近一些朋友在问FreeBSD下如何使GraphicsMagick支持中文字体?今天小编为大家带来的是FreeBSD下使GraphicsMagick支持中文字体的方法!有需要的朋友一起去看看吧2017-03-15



最新评论