安装apache 2.4.3
上一篇 /
下一篇 2012-09-04 18:54:37
/ 个人分类:http server
从http://labs.mop.com/apache-mirror//httpd/下载httpd-2.4.3.tar.gz,解压后安装。
51Testing软件测试网M`2} ^%Co8yX\configure时提示下面的错误:
51Testing软件测试网{7U&W"Gq XI3D*Lfchecking for APR... apr-1-config: not found
:Z1}-TP"V*`bf0apr-2-config: not found
t:e`)q0D051Testing软件测试网1Ckr@9P
|O-L原因是没装apr和apr-util。
51Testing软件测试网Ghv c6_t!Xo5L%rY1N"`0从http://labs.mop.com/apache-mirror//apr/下载apr-1.4.6.tar.gz 和apr-util-1.4.1.tar.gz,解压后安装。注意必须先装apr再装apr-util,并且在configure apr-util时需要指定apr的路径,如下所示:
51Testing软件测试网3h r'SxR/yeZ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/bin/apr-1-config
WZ*F~J+G0apr和apr-util装好后,安装
apache,configure时仍提示刚才的错误,手工指定apr和apr-util的路径,如下:
51Testing软件测试网(@$Jm
o,X1D6lIX O.q@j
Q+f?0 ./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
T(|2tk*@^J"R N0这次不再提示错误,接下来执行make和make install,安装成功。
6C-X:H-qX1M05Z3h ^8HH,v i0启动apache,提示
51Testing软件测试网.t
x+wF:`&UG[Tue Sep 04 18:50:51.918437 2012] [core:warn] [pid 37294:tid 674238720] (2)No such file or directory: AH00075: Failed to enable the 'httpready' Accept Filter
/RI \T_ ~&c`9Zr0解决办法:
)BBK#FY.f6?0kldload accf_http
收藏
举报
TAG:
Apache
apache