这个错误安装 yum install -y gcc
error: mod_deflate has been requested but can not be built due to prerequisite failures解决办法是:# yum install -y zlib-devel为了避免在 make 的时候出现错误,所以最好是提前先安装好一些库文件:# yum install -y pcre pcre-devel apr apr-devel