在Windows 7上安装TYPO3 6.2.2时,PHP OpenSSL扩展不起作用 [英] PHP OpenSSL extension not working while installing TYPO3 6.2.2 on Windows 7
问题描述
我已经在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扩展的集成以及安装是否正确.
我尝试在Internet上找到有关此错误的解决方案,但无法解决此错误.
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
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
-
在其中设置
$ 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
Restart xampp
链接/来源:
http://www.typo3.net/forum/thematik/zeige/thema/116156/
这篇关于在Windows 7上安装TYPO3 6.2.2时,PHP OpenSSL扩展不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!