centos8编译安装httpd,出现以下问题
解决办法:
把解压好的apr和apr-util 复制到自己对应的 /httpd-2.4.37/srclib/目录下
cp -r apr-1.6.5 /usr/local/apache/httpd-2.4.33/srclib/apr
cp -r apr-util-1.6.1 /usr/local/apache/httpd-2.4.33/srclib/apr-util
输入下面命令,重新编译httpd,即可成功
./configure --prefix=/usr/local/apache/apache24 --with-apr=/usr/local/apache/apr --with-apr-util=/usr/local/apache/apr-util --with-pcre=/usr/local/apache/pcre --enable-mods-shared=most --enable-so --with-included-apr