默认情况下,我在虚拟主机上使用它:
<VirtualHost www.somedomain.com:443>
DocumentRoot "C:/xampp/htdocs/www.somedomain.com"
ServerName www.somedomain.com
ServerAdmin webmaster@www.somedomain.com
ErrorLog "logs/error.log"
<IfModule log_config_module>
CustomLog "logs/access.log" combined
</IfModule>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
<FilesMatch "\.(cgi|shtml|pl|asp|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "C:/xampp/htdocs/www.somedomain.com">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
CustomLog "logs/ssl_request.log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
已将其包含在我的Windows主机文件中。
但它继续说:
Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://www.google.com:443. Error #127380504: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
我现在已经看了几个小时的解决方案。
答案 0 :(得分:0)
该错误显然来自使用Zend框架的PHP应用程序。这是可能性
意识到Xampp非常容易在Windows上运行,你可能想要给一些非常好的Apache + PHP,看看你是否可以复制这个问题。