启用 OpenSSL 的测试失败 [英] Test for OpenSSL enabled fails

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

问题描述

我正在测试 openssl 是否已启用并返回密钥.尽管启用了 openssl,但它不会返回密钥.尝试安装 TYPO3 时出现错误消息.

I am testing if openssl is enabled and returns keys. Though openssl is enabled it is not returing keys. When tried to install the TYPO3 the error message is appearing.

if (extension_loaded('openssl')) {
   $testKey = @openssl_pkey_new();   
   if (is_resource($testKey)) {
   } else {
      echo ' Please check the integration of the PHP OpenSSL extension and if it is installed correctly.';
   }    
}

请帮助继续安装.谢谢

推荐答案

很可能 openssl.cnf 文件没有正确配置或找不到.另请查看openssl 手册.

Most likely the openssl.cnf file is not correctly configured or cannot be found. Please also check the openssl manual.

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

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