当前位置: 技术问答>linux和unix
安装apache后找不到 bin/apxs
来源: 互联网 发布时间:2016-04-11
本文导语: rpm包安装的apache 按jk的时候,#./configure --with-apxs=/usr/local/apache/bin/apxs 实在是找不到这个apxs这个文件在哪,请大虾帮帮忙啊,急 | find / -name apxs 看看有没有找到. 如果不行重新用安装rpm ...
rpm包安装的apache
按jk的时候,#./configure --with-apxs=/usr/local/apache/bin/apxs
实在是找不到这个apxs这个文件在哪,请大虾帮帮忙啊,急
按jk的时候,#./configure --with-apxs=/usr/local/apache/bin/apxs
实在是找不到这个apxs这个文件在哪,请大虾帮帮忙啊,急
|
find / -name apxs 看看有没有找到.
如果不行重新用安装rpm
The httpd-devel package contains the APXS binary and other files that you need to build Dynamic Shared Objects (DSOs) for Apache. If you are installing the Apache HTTP server and you want to be able to compile or develop additional modules for Apache, you need to install this package.
如果不行重新用安装rpm
The httpd-devel package contains the APXS binary and other files that you need to build Dynamic Shared Objects (DSOs) for Apache. If you are installing the Apache HTTP server and you want to be able to compile or develop additional modules for Apache, you need to install this package.
|
按照下边的装一下吧.
apxs 安装
# rpm -ivh apr-devel-0.9.4-24.9.i386.rpm
# rpm -ivh apr-util-devel-0.9.4-21.i386.rpm
# rpm -ivh pcre-devel-4.5-4.el4_5.1.i386.rpm
# rpm -ivh httpd-devel-2.0.52-38.ent.centos4.i386.rpm
确认
# find / -name apxs
/usr/sbin/apxs
apxs 安装
# rpm -ivh apr-devel-0.9.4-24.9.i386.rpm
# rpm -ivh apr-util-devel-0.9.4-21.i386.rpm
# rpm -ivh pcre-devel-4.5-4.el4_5.1.i386.rpm
# rpm -ivh httpd-devel-2.0.52-38.ent.centos4.i386.rpm
确认
# find / -name apxs
/usr/sbin/apxs