4trgr 发表于 2015-8-26 08:39:23

安装Apache时可能会遇到的问题

1、configure错误提示1:
configure:error: in `/usr/local/src/httpd-2.2.21/srclib/apr':
configure:error: no acceptable C compiler found in $PATH
See `config.log'for more details.

解决方法: yum install -y gcc


2、configure错误提示2:
checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures


解决方法:yum install -y zlib-devel

页: [1]
查看完整版本: 安装Apache时可能会遇到的问题