移动apache的两个依赖文件apr,apr-util到其srclib文件夹下(注意文件夹不能加版本号,否则系统会找不到这两个软件)
mv/rpm_dir/apr-1.7.0/rpm_dir/httpd-2.4.51/srclib/apr
mv/rpm_dir/apr-util-1.6.1/rpm_dir/httpd-2.4.51/srclib/apr-util
rpm-ivhpcre-devel-8.32-17.el7.x86_64.rpm--nodeps
rpm-ivhexpat-devel-2.1.0-12.el7.x86_64.rpm--nodeps
./configure--prefix=/usr/local/apache--with-included-apr