PHP 5.5.16无法启用OpenSSL [英] PHP 5.5.16 Can't Enable OpenSSL

查看:182
本文介绍了PHP 5.5.16无法启用OpenSSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在IIS8,Windows 2012 R2上运行PHP 5.5.16,并且刚刚从5.4.17升级.我在启用php_openssl.dll时遇到问题

I'm running PHP 5.5.16 on IIS8, Windows 2012 R2 and just upgraded from 5.4.17. I am having an issue enabling the php_openssl.dll

在ini文件中(是​​的,我已经验证它是正确的ini文件),我已经这样设置了extension = php_openssl.dll,重新启动IIS和phpinfo()仍然指出[OpenSSL支持已禁用(安装ext/openssl)]

In the ini file (yes, I've verified it's the correct ini file) I have set extension=php_openssl.dll as such, restarted IIS and phpinfo() still states [OpenSSL support disabled (install ext/openssl)]

此外,当我将事件处理程序映射回PHP 5.4.17时,openssl会根据需要显示.

Also, when I map the event handler back to PHP 5.4.17, the openssl appears as desired.

有什么想法吗?

谢谢, 数字

推荐答案

我知道了,未启用extension_dir ="ext" ...我将其更改为: ;在Windows上: extension_dir ="ext"

I figured it out, the extension_dir = "ext" was not enabled... I changed it to: ;On windows: extension_dir = "ext"

这篇关于PHP 5.5.16无法启用OpenSSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆