解决目标
主要碰到的原因是小程序https需要用到tls1.2,旧版本open-ssl只支持1.1,因此只能升级apache
- 首先下载 apache ,下载mod_fcfig.so到
modules
文件夹,原来的重命名备份 - 安装各个版本vc库
- https配置中去掉 httpd-ahssl ,加载
ssl_mod
模块 - 重点使用
./httpd.exe -t
检查语法是否有错误 - php无法解析的情况,加载
fcgi_mod
配置文件和cgi_mod
模块1
Include conf/extra/httpd-php-fcgid55.conf
1 | <IfModule fcgid_module> |