Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法
04-30
一、安装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请求。
上一页12 3 下一页
- • Freebsd7.0+Apache2.2+MySQL5+PHP5安装配置
- • FreeBSD6.2上搭建apache2.2.4+mysql5.1.7+php5.2.1+phpmyadmin
- • FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin
- • Freebsd6.0下通过ports安装apache2.2.0+mysql5.1.7+php5.1.2
- • freeBSD5.4下安装配置apache2+php5+mysql5过程
- • Windows XP下安装和配置Apache2.2.22服务器+PHP5+Mysql5
- • Ubuntu 11.0下配置Web服务器详细教程[ 图文]
- • CentOS 6.2系统安装和基本软件环境配置
- • RedHat AS4上安装配置Apache2.2.4+PHP5.2.3+MySQL5.0.45+openssl0.98e