华域联盟 Unix Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法

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

 一、安装apache2.2.8

  首先去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

  首先去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请求。

本文由 华域联盟 原创撰写:华域联盟 » Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法

转载请保留出处和原文链接:https://www.cnhackhy.com/10510.htm

本文来自网络,不代表华域联盟立场,转载请注明出处。

作者:

发表回复

联系我们

联系我们

2551209778

在线咨询: QQ交谈

邮箱: [email protected]

工作时间:周一至周五,9:00-17:30,节假日休息

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部