While installing TYPO3 CMS 7.4.0 I get the message:
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.
Win 8.1 x64; PHP Version 5.6.12 VC11 x86 Thread Safe; Apache 2.4.16 VC11 Win32
I've read about similar issues and done everything recommended, but the problem is still here.
What I've done is:
extension=php_openssl.dll
set path to 'openssl.exe':
appended C:\\Apache24\\bin\\ to the environment variable PATH
restarted apache/rebooted PC.
And nothing helped.
openssl_pkey_new()
using cmd and check if there's a problem with openssl? EDIT:
I've carefully read openssl.installation manual from official php site (sry, am not able to post more than 2 links due to lack of reputation here ^^) and nothing helped
When I run this script: error_reporting(E_ALL);$test = openssl_pkey_new();echo $test;
I get a blank page in my browser (while 'display_errors = On' and 'display_startup_errors = On' in php.ini)
In the shell on XAMPP control panel, openssl command gives
WARNING: can't open config file: C:/xampp/apache/bin/openssl.cnf OpenSSL>
While openssl.cnf is located in C:/xampp/apache/conf/openssl.cnf And in PHP Variables there's _SERVER["OPENSSL_CONF"] C:/xampp/apache/conf/openssl.cnf
In the CMD openssl command gives
C:\\WINDOWS\\system32>openssl WARNING: can't open config file: D:\\tmp\\openssl-1.0.1p\\vc11\\x86/openssl.cnf OpenSSL>
Both libeay32.dll and ssleay32.dll are of version 1.0.1.16 and are the same in apache/bin and /php
There's SetEnv OPENSSL_CONF "C:/xampp/apache/conf/openssl.cnf"
in httpd-xampp.conf
Please try all optiones mentioned here: http://php.net/manual/en/openssl.installation.php
You can use php -a
to open a php shell and run the mentioned command. Or you can write yourself a minimalistic php file and run that from your browser:
<?php error_reporting(E_ALL); $test = openssl_pkey_new(); echo $test;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.