总结CentOS下Apache安装

下面由centos教程栏目给大家总结centos下apache安装,希望对需要的朋友有所帮助!

总结CentOS下Apache安装

CentOS下Apache安装总结

环境(Environment)

操作系统:CentOS 6.8
服务器:Apache 2.4.29
其他关键依赖库:apr 1.6.3、apr-util 1.6.1、pcre-8.41

命令(Command)

总结Linux下PHP编译安装各种出错及解决方法 总结Linux下PHP编译安装各种出错及解决方法

牛人总结Linux下PHP编译安装各种出错及解决方法

总结Linux下PHP编译安装各种出错及解决方法 213 查看详情 总结Linux下PHP编译安装各种出错及解决方法 解压命令

命令格式 命令说明 命令参数解释

tar zxvf [dir1] -C [dir2]将dir1下的文件解压到dir2指定的目录下无rpm -qa [software-name]查询指定的软件无rpm -e –nodeps [software-full-name]卸载指定名称的软件–nodeps:不做软件之间的依赖检查./configure –prefix=[dir] –with-[lib]无–prefix:指定安装目录–with-[lib]:依赖(个人理解)Apache安装编译安装(make install)

问题(problem)

发生时间 错误内容 解决方案(个人) 解决方案(网络) 权重

Apache 安装时error:Cannot use an external APR with the bundled APR-util对apr-util重新进行编译安装Google低Apache 安装时error:Did not find pcre-config script at [dir]将pcre2替换为pcre,然后进行编译安装Google低pcre安装时error: You need a C++ Compiler for C++ SupportGoogleyum install -y gcc gcc-c++低Apache 安装时error:pcre-config for libpcre not found在./configure 配置时使用–with-pcre=[dir]指定pcre安装目录重新安装或者第一次安装pcre低Apache 安装时error:no acceptable C complier found in $PATHGoogleyum -y install gcc高apr-util 安装时(一部分错误提示)error:’apr_xml_parser’ has no memebr named ‘xp’Googleyum install expat-devel低Apache 安装时(一部分错误提示)error:openssl version is too oldGoogleyum install openssl-develyum update openssl高

第一次编写这种总结,如有不对之处,欢迎dalao指出(给dalao递女装)。

以上就是总结CentOS下Apache安装的详细内容,更多请关注创想鸟其它相关文章!

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/882084.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫

关于作者

上一篇 2025年11月28日 10:35:18
下一篇 2025年11月28日 10:35:39

相关推荐

发表回复

登录后才能评论
关注微信