9.12

yum install -y apr* autoconf automake bison bzip2 bzip2* cloog-ppl compat* cpp curl curl-devel  fontconfig fontconfig-devel freetype freetype* freetype-devel gcc gcc-c++ gtk+-devel gd gettext gettext-devel  glibc kernel kernel-headers keyutils keyutils-libs-devel krb5-devel libcom_err-devel libpng libpng-devel  libjpeg* libsepol-devel libselinux-devel libstdc++-devel libtool* libgomp libxml2 libxml2-devel libXpm*  libtiff libtiff* make mpfr ncurses* ntp openssl openssl-devel patch pcre-devel perl php-common php-gd  policycoreutils telnet t1lib t1lib* nasm nasm* wget zlib-devel

9.12

  [[email protected] ~]#   systemctl stop httpd
    [[email protected] ~]# systenctl status httpd
    [[email protected] ~]# yum remove httpd
   [[email protected] ~]#  yum install apr apr-util apr-devel apr-util-devel
    [[email protected] httpd-2.4.34]#    cd httpd-2.4.34/
   重置网络 安装yum文件 进入httpd-2.4.34/目录下
[[email protected] httpd-2.4.34]# ./configure --prefix=/usr/local/apache2
[[email protected] httpd-2.4.34]# make && mske install
[[email protected] httpd-2.4.34]# make && make install
[[email protected] httpd-2.4.34]]# ./configure --prefix=/usr/local/apache2 --disable-proxy
[[email protected] httpd-2.4.34]]#make && make install

[[email protected] httpd-2.4.34]]#make && mske install
[[email protected] httpd-2.4.34]]#/usr/local/apache2/bin/apachectl start
[[email protected] httpd-2.4.34]]#ps -ef | grep httpd输出结果