解决目标
主要碰到的原因是小程序https需要用到tls1.2,因此只能升级apache
- 首先下载 apache ,下载mod_fcfig.so到
modules文件夹,原来的重命名备份 - 安装各个版本vc库
- https配置中去掉 httpd-ahssl ,加载
ssl_mod模块 - 重点使用
./httpd.exe -t检查语法是否有错误 - php无法解析的情况,加载
fcgi_mod配置文件和cgi_mod模块
Include conf/extra/httpd-php-fcgid55.conf
<IfModule fcgid_module>
Include conf/extra/httpd-fcgid.conf
FcgidInitialEnv PHPRC "D:/phpStudy/php55n"
AddHandler fcgid-script .php
FcgidWrapper "D:/phpStudy/php55n/php-cgi.exe" .php
</IfModule>
本文介绍如何升级Apache以支持TLS1.2,并确保PHP兼容性。具体步骤包括下载并配置Apache,安装VC库,调整HTTPS配置,验证语法正确性及配置PHP解析。
1722

被折叠的 条评论
为什么被折叠?



