在window7上安装Typo3 6.2.2时,PHP OpenSSL扩展不起作用 [英] PHP OpenSSL extension not working while install Typo3 6.2.2 on window7

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

问题描述

我已经在window7上安装了Typo3 6.2.2,但收到如下错误消息:

I've installed Typo3 6.2.2 on window7 but I got an error message as below:

PHP OpenSSL extension not working Something went wrong while trying to create a new private key for testing. Please check the integration of the PHP OpenSSL extension and if it is installed correctly.

PHP OpenSSL extension not working Something went wrong while trying to create a new private key for testing. Please check the integration of the PHP OpenSSL extension and if it is installed correctly.

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

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

任何人都知道,您能帮我找到解决方法吗?谢谢.

Anyone know, can you help me to find the solution please? Thanks.

推荐答案

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

Solution that worked for me on XAMPP and Windows Vista:

  • 激活PHP模块openssl

  • Activate the PHP module 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().

添加值为

Add a system environment variable "OPENSSL_CONF" with value

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

  • ...\htdocs\typo3_src-6.2.x\typo3\sysext\core\Configuration\DefaultConfiguration.php'openssl=c:/xampp/apache/bin/openssl.exe'

  • Either set $TYPO3_CONF_VARS['SYS']['binSetup'] in ...\htdocs\typo3_src-6.2.x\typo3\sysext\core\Configuration\DefaultConfiguration.php to '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

Restart xampp

链接/来源:

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

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

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