问题
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:
- checked extension=php_openssl.dll in my php/bin
- "sysext", "rsaauth" and "saltedpasswords" are in my typo3 folder
- apache ssl_module is running
- put ssl in the system variables
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
回答1:
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 intoC:\wamp\bin\apache\apache2.2.22\bin
- Add an environment variable
OPENSSL_CONF
with valueC:\wamp\bin\apache\apache2.2.22\conf\openssl.cnf
- Either set
$TYPO3_CONF_VARS['SYS']['binSetup']
as described above or appendC:\wamp\bin\apache\apache2.2.22\bin
to the environment variablePATH
(will work for every PHP script not only TYPO3) - Restart wamp
回答2:
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
回答3:
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
来源:https://stackoverflow.com/questions/24140956/xampp-3-2-1-and-typo3-6-2-openssl-not-working