在 Windows 7 上安装 TYPO3 6.2.2 时 PHP OpenSSL 扩展不起作用 [英] PHP OpenSSL extension not working while installing TYPO3 6.2.2 on Windows 7

查看:21
本文介绍了在 Windows 7 上安装 TYPO3 6.2.2 时 PHP OpenSSL 扩展不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在 Windows 7 上安装了 TYPO3 6.2.2,但收到如下错误消息:

I've installed TYPO3 6.2.2 on Windows 7 but I got an error message as below:

PHP OpenSSL 扩展不起作用 尝试创建用于测试的新私钥时出错.请检查 PHP OpenSSL 扩展的集成以及是否正确安装.

我尝试在互联网上找到有关此错误的解决方案,但无法解决此错误.

I try to find the solution on the internet about this error but I cannnot solve this bug.

谁能帮我找到解决方案?谢谢.

Can anyone help me to find the solution please? Thanks.

推荐答案

在 XAMPP 和 Windows Vista 上对我有用的解决方案:

Solution that worked for me on XAMPP and Windows Vista:

  • 激活 PHP 模块 openssl

打开php.ini并取消注释(删除';'):

Open php.ini and uncomment(delete ';') in:

;extension=php_openssl.dll

通过运行 phpinfo() 仔细检查扩展是否已启用.

Double-check that the extension is enabled by running phpinfo().

添加具有值的系统环境变量OPENSSL_CONF"

C:\xampp\apache\conf\openssl.cnf

...假设您将 xampp 安装到 C:\xampp.

...assuming you installed xampp into C:\xampp.

设置路径为'openssl.exe',在C:\xampp\apache\bin

Set path to 'openssl.exe', which is in C:\xampp\apache\bin

  • 要么设置 $TYPO3_CONF_VARS['SYS']['binSetup']...\htdocs\typo3_src-6.2.x\typo3\sysext\core\Configuration\DefaultConfiguration.php'openssl=c:/xampp/apache/bin/openssl.exe'

或将 c:\xampp\apache\bin 附加到环境变量 PATH (不仅适用于 TYPO3 的每个 PHP 脚本)

or append c:\xampp\apache\bin to the environment variable PATH (will work for every PHP script not only TYPO3)

重启 xampp

链接/来源:

http://www.typo3.net/forum/thematik/zeige/thema/116156/

这篇关于在 Windows 7 上安装 TYPO3 6.2.2 时 PHP OpenSSL 扩展不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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