Bug #44353 [Com]: https loads in apache, fails on cli. http fine

From: Date: Fri, 19 Oct 2012 09:33:29 +0000
Subject: Bug #44353 [Com]: https loads in apache, fails on cli. http fine
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-174182@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=44353&edit=1

 ID:                 44353
 Comment by:         rtoelhoej at mcg-systems dot dk
 Reported by:        jmatthies at townleyandassociates dot com
 Summary:            https loads in apache, fails on cli. http fine
 Status:             No Feedback
 Type:               Bug
 Package:            CGI/CLI related
 Operating System:   hp/ux 11.11
 PHP Version:        5.2.5
 Block user comment: N
 Private report:     N

 New Comment:

Solution found :)

It is because the target server is running OpenSSL 1.0 and PHP are using OpenSSL 0.9, they
can't talk properly together.

My workaround was to downgrade Apache to OpenSSL 0.9.


Previous Comments:
------------------------------------------------------------------------
[2012-10-19 08:38:05] rtoelhoej at mcg-systems dot dk

We're seeing this problem too:

System => Windows NT VM-APM2011-AGEN 6.1 build 7601 (Windows Server 2008 R2 Standard Edition
Service Pack 1) i586
PHP Version => 5.3.8
OpenSSL Library Version => OpenSSL 0.9.8r 8 Feb 2011

Registered PHP Streams => php, file, glob, data, http, ftp, zip, compress.zlib, https, ftps, phar
 
Registered Stream Socket Transports => tcp, udp, ssl, sslv3, sslv2, tls

------------------------------------------------------------------------
[2009-07-01 14:31:19] seklecki at noc dot cfi dot pgh dot pa dot us

We're seeing this problem too:

- FreeBSD/amd64 6.3-P10
- php5-5.2.9
-  OpenSSL 0.9.7e-p1 25 Oct 2004

------------------------------------------------------------------------
[2008-03-25 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2008-03-17 20:56:46] jani@php.net

And you're 100% sure that the installed CLI binary and Apache module are from same build?
(check the installed modules in both!)

------------------------------------------------------------------------
[2008-03-14 20:32:48] jmatthies at townleyandassociates dot com

p -n <file> gives identical results:

Warning: file_get_contents(): SSL: No such file or directory in /opt/hpws/apache /htdocs/t.php on
line 2
Warning: file_get_contents(): Failed to enable crypto in /opt/hpws/apache/htdocs /t.php on line 2
Warning: file_get_contents(https://www.google.co.uk/ig?hl=en): failed to open st ream: No such file
or directory in /opt/hpws/apache/htdocs/t.php on line 2

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=44353


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=44353&edit=1


Thread (7 messages)

« previous php.bugs (#174182) next »