Apache报错

【问题一】在安装apr-utli时,make时出现以下错误

[[email protected] apr-util-1.6.0]# make

make[1]: Entering directory `/home/qiu/tools/apr-util-1.6.0‘

/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/home/qiu/tools/apr-util-1.6.0/include -I/home/qiu/tools/apr-util-1.6.0/include/private  -I/usr/local/apr/include/apr-1    -o xml/apr_xml.lo -c xml/apr_xml.c && touch xml/apr_xml.lo

xml/apr_xml.c:35:19: fatal error: expat.h: No such file or directory

#include <expat.h>

^

compilation terminated.

make[1]: *** [xml/apr_xml.lo] Error 1

make[1]: Leaving directory `/home/qiu/tools/apr-util-1.6.0‘

【解决办法】:yum -y install expat-devel

【问题二】在htthd目录下configure时出现以下错误

checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures

【解决办法】

yum install  zlib-devel

【问题三】在htthd目录下configure时出现以下错误

configure: error: ...No recognized SSL/TLS toolkit detected

【解决办法】

yum -y install openssl openssl-devel

时间: 2024-08-03 16:14:10

Apache报错的相关文章

重启Apache报错

重启Apache报错,如图所示:server: /etc/httpd/modules/mod_jk.so: wrong ELF class: ELFCLASS64 解决方法

重启Apache报错apache2: Could not reliably determine the server&#39;s fully qualified domain name, using 127.0.1.1 for ServerName ... waiting的解决方法

启动apache提示 : apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (1)

EasyPHP的Apache报错

今天安装了最新版本的软件:EasyPHP-DevServer-14.1VC11-install.exe 启动报错: 打开Cport软件: 可见80端口被系统占用,导致Apache不能启动. (1)手动修改http.conf文件中:Listen 127.0.0.1:80,把80改成8012等其他端口: (2)安装目录里的EasyPHP.ini的CheckServerPorts参数改为N(默认为Y). EasyPHP的Apache报错

Linux安装Apache报错:Cannot find a valid baseurl for repo: base/7/x86_64解决方案

最近使用CentOS7学习,安装安装Apache时候,使用yum安装Apache报错:本文适合CentOS7和RHEL7 # yum install httpd 出现:cannot find a valid baseurl for repo:base/7/x86_64. 针对这个问题,网上有大量的解决方案,说是网络不通的,比如: 修改: vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是"ifcfg-eth数字")

php+mysql+apache报错

使用apache2.4版本 在搭建工程的时候 发现报错: 针对这个问题 可以看到已经可以访问相应的网址 但是跳转有问题 那么我们可以怀疑问题出在.htaccess上面 看了下之前的配置是这样的 后续有个后台牛人 建议我加入这么一句话: 重启apache 一切正常 安装redis扩展 :http://www.xuejiehome.com/one-blread-1795.html

linux下apache重启报错

重启apache报错信息如下: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message. 处理方法非常简单: 1)进入apache安装目录: 2)编辑httpd.conf文件,搜索#ServerName,在其下面添加一行--S

postfix报错信息汇总

postfix_编译时make: *** [xsasl_cyrus_server.o] Error 1 make: *** [update] //如果编译出错,检查出错情况,一般是有包忘了装,要不是参数路径错误: [注释]: xsasl_cyrus_server.c:598: error: 'SASL_OK' undeclared (first use in this function) xsasl_cyrus_server.c:600: warning: format '%s' expects

Tomcat启动报错[org.apache.struts2.dispatcher.Dispatcher]Dispatcher initialization failed

Tomcat启动报错: [org.apache.struts2.dispatcher.Dispatcher]Dispatcher initialization failed Unable to load configuration. - bean - jar:file:/E:/SoftwareDevelopment/Software/Eclipse4.3/eclipse-jee-kepler-SR1-win32-x86_64/Workspace/.metadata/.plugins/org.ec

Mybatis缓存报错org.apache.ibatis.exceptions.PersistenceException

错误信息如下: org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.apache.ibatis.cache.CacheException: Error deserializing object. Cause: java.lang.ClassNotFoundException: com.kytsoft.model.Adminlink ### Cause: org.apa