当前位置: 代码网 > 科技>操作系统>Unix > Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法

Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法

2008年09月08日 Unix 我要评论
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 http... 08-09-08

 一、安装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请求。

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com