Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法
一、安装apache2.2.8
首先去网站上下载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
首先去网站上下载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请求。
上一篇: FreeBSD系统下读写 NTFS分区
下一篇: FreeBSD完全入门手册
推荐阅读
-
mysql 5.7.17 64bit安装配置方法图文教程
-
Windows PHP5和Apache的安装与配置
-
mysql5.7.20免安装版配置方法图文教程
-
Premiere CC 2019图文安装和注册补丁的使用方法
-
MySql 5.7.21免安装版本win10下的配置方法
-
mysql8.0.11 winx64安装配置方法图文教程(win10)
-
CentOS7下mysql 8.0.16 安装配置方法图文教程
-
windows下mysql 8.0.16 安装配置方法图文教程
-
mysql 8.0.16 winx64安装配置方法图文教程
-
mysql 8.0.16 winx64.zip安装配置方法图文教程