安装php8报错 PHP Warning: ‘C:\Windows\SYSTEM32\VCRUNTIME140.dll‘ 14.0 is not compatible with this PHP

PHP Warning: ‘vcruntime140.dll’ 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0

php7.4的安装和配置跟之前没有分别,唯一要注意的一点是它的编译已经从vc++15 变成了vc++16,它的安装包命名也变成了vs16(visualstudio 16,即vs 2019)
直接下载个全的:
Visual Studio 2015、2017 和 2019
https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads

其他工具、框架和可再发行组件

下载 “Microsoft Visual C++ Redistributable for Visual Studio xxx”
下载之后安装,然后重启电脑,就可以了。

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_2824.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?