Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP OpenSSL extension not working while installing TYPO3 6.2.2 on Windows 7

I've installed TYPO3 6.2.2 on Windows 7 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.

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.

like image 279
user3471037 Avatar asked May 20 '14 08:05

user3471037


1 Answers

Solution that worked for me on XAMPP and Windows Vista:

  • Activate the PHP module openssl

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

    ;extension=php_openssl.dll

    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

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

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

    • 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'

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

  • Restart xampp

Links/sources:

  • http://wiki.typo3.org/Exception/CMS/1318283565

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

like image 138
Alan Avatar answered Oct 16 '22 18:10

Alan