Php 启用OpenSSL的测试失败
我正在测试是否启用了openssl并返回密钥。尽管启用了openssl,但它并没有重新存储密钥。尝试安装TYPO3时,出现错误消息Php 启用OpenSSL的测试失败,php,typo3,php-openssl,Php,Typo3,Php Openssl,我正在测试是否启用了openssl并返回密钥。尽管启用了openssl,但它并没有重新存储密钥。尝试安装TYPO3时,出现错误消息 if (extension_loaded('openssl')) { $testKey = @openssl_pkey_new(); if (is_resource($testKey)) { } else { echo ' Please check the integration of the PHP OpenSSL extens
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
文件配置不正确或找不到。还请检查。您可以随时尝试添加
在回显行或打开或查看PHP错误日志后,我在编辑时遗漏了分号,更正了它。如果您确定查看了正确的PHP.ini
文件,则通常不止1个。一个用于web服务器,另一个用于PHP CLII,由于PHP_openssl.dll文件的版本不兼容,因此出现了“顺序错误”。现在我可以安装typo3了