1.检查是否安装apxs
whereis apxs
apxs: /usr/sbin/apxs
/usr/share/man/man8/apxs.8.gz
如果出现以上,说明安装apxs,如果出现
whereis apxs
apxs:
说明没有安装,则通过以下安装。
2.yum -y install apr-devel
yum -y install apr-util-devel
yum -y install httpd-devel
2.再用命令查询
whereis apxs
apxs: /usr/sbin/apxs
/usr/share/man/man8/apxs.8.gz
安装完成。