ID: 41087 Updated by: [EMAIL PROTECTED] Reported By: mb at insidetheweb dot de -Status: Open +Status: Bogus Bug Type: OpenSSL related Operating System: Ubuntu 6.0.6LTS PHP Version: 4.4.6 New Comment:
Broken OpenSSL installation might be the reason. OpenSSL function fails - there is not much we can do about it. Previous Comments: ------------------------------------------------------------------------ [2007-04-14 20:46:55] mb at insidetheweb dot de Description: ------------ No matter what i tried, i cannot establish a connection with ssl. I always get these errors: 1.) php_stream_sock_ssl_activate_with_method: failed to create an SSL context 1.) Unable to activate SSL mode in **** (file_get_contents) OR failed to activate SSL mode 1 (fsockopen) Reproduce code: --------------- echo file_get_contents( 'https://api-3t.paypal.com' ); or $fp = fsockopen ('ssl://api-3t.paypal.com', 443, $errno, $errstr, 30); Expected result: ---------------- Some output... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41087&edit=1
