![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Apache
月月吃喝
这个作者很懒,什么都没留下…
展开
-
Centos7.5 编译安装apr-util时报错:xml/apr_xml.c:35:19: fatal error: expat.h: No such file or directory
报错信息: [root@localhost apr-util-1.6.1]# make make[1]: Entering directory `/home/bak/software/apr-util-1.6.1' /bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_...原创 2019-04-23 10:34:17 · 5165 阅读 · 0 评论 -
配置httpd时报错:checking whether to enable mod_ssl... configure: error: mod_ssl has been requested but
[root@localhost ~]#cd /home/software/httpd-2.4.39/ [root@localhost httpd-2.4.39]# ./configure --prefix=/usr/local/apache --with-pcre=/usr/local/pcre --with-apr=/usr/local/apr --with-apr-util=/usr/loca...原创 2019-04-24 09:55:34 · 3015 阅读 · 0 评论 -
Centos7 配置LAMP环境-Apache
一、环境准备 1.软件下载 将压缩包通过xftp上传到服务器的/home/software目录下 Apache HTTP Server APR和APR-Util PCRE 2.检查系统中是否已经安装httpd服务 [root@localhost ~]# rpm -qa | grep httpd httpd-tools-2.4.6-88.el7.centos.x86_64 httpd-2.4.6...原创 2019-04-24 17:04:50 · 223 阅读 · 0 评论 -
Centos7 更改Apache默认网站目录
1.找到httpd的配置文件 [root@localhost ~]# find / -name httpd.conf 标出来的这两个文件都是apache的配置文件,只是一个是系统自带的(/etc/httpd/conf/httpd.conf),一个是yum安装产生的(/usr/local/apache2/conf/httpd.conf) 2.修改apache配置/etc/httpd/conf/...原创 2019-04-25 13:58:05 · 2325 阅读 · 0 评论