Andi
Andi

Reputation: 939

XAMPP 3.2.1 and typo3 6.2 OpenSSL not working

I do have the following problem. Trying to install typo3 6.2 on my local machine under xampp 3.2.1 Installer tells me "PHP OpenSSL extension not working"

What I've done so far:

I've also tried a downgrade to OpenSSL 0.9.8, but still getting the error. Btw, I've restarted xampp after every edit.

I'm running xampp on Windows 8.1

Upvotes: 2

Views: 6916

Answers (3)

user3733912
user3733912

Reputation: 31

On typo3 6.2.7on win7 XAMPP 1.8.3 The openSSL error's solution was to create C:\ openssl-1.0.1i-win32\ssl folder and put E:\Portables\xampp\apache\conf\openssl.cnf into it. I got a direction about it from a german website.

How I found it out(just in case versions change) In the shell on XAMPP control panel, openssl command gives “WARNING: can't open config file: E:/Portables/xampp/apache/bin/openssl.cnf”. But adding the file there does not help. I added and removed the file

Add ;E:\Portables\xampp\apache\bin to PATH environment variable (System properties -> Advanced). Run command openssl on a CMD window(not XMPP shell), the message “WARNING: can't open config file: c:/openssl-1.0.1i-win32/ssl/openssl.cnf” comes. Add the file there The addition to environment variable PATH can be removed now.

Adding OPENSSL_CONF also did not work for me

Upvotes: 0

pgampe
pgampe

Reputation: 4578

From the exception linked above:

Windows 7 and Wamp

  • Activate the PHP module openssl
  • Assuming you installed wamp into C:\wamp, openssl.exe is found into C:\wamp\bin\apache\apache2.2.22\bin
  • Add an environment variable OPENSSL_CONF with value C:\wamp\bin\apache\apache2.2.22\conf\openssl.cnf
  • Either set $TYPO3_CONF_VARS['SYS']['binSetup'] as described above or append C:\wamp\bin\apache\apache2.2.22\bin to the environment variable PATH (will work for every PHP script not only TYPO3)
  • Restart wamp

Upvotes: 6

Andrea Schmuttermair
Andrea Schmuttermair

Reputation: 670

Check your httpd.conf, and try to disable the SSL there, because PHP has its own ssl.dll

Should look like this:

#LoadModule ssl_module modules/mod_ssl.so   

...

# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
#<IfModule ssl_module>
#SSLRandomSeed startup builtin
#SSLRandomSeed connect builtin
#</IfModule>

Found here: http://www.typo3forum.net/forum/typo3-installation-updates/74548-openssl-not-working-installation-xampp-aktiviert-php-ini.html

If this is not working, try to follow this wiki post:

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

Upvotes: -1

Related Questions