Test for OpenSSL enabled fails

不羁的心 提交于 2019-12-11 14:29:52

问题


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.';
   }    
}

Please help to continue installation. Thanks


回答1:


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



来源:https://stackoverflow.com/questions/44906381/test-for-openssl-enabled-fails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!