ID: 26016
Updated by: pollita@php.net
Reported By: hill at bluecarrots dot com
Status: No Feedback
Bug Type: *General Issues
Operating System: Linux
PHP Version: 4.3.3
New Comment:
It's a "Won't fix" for PHP4 because it requires a *significant* rewrite
of the socket transport layer. As any responsible developer knows, you
don't make massive changes to a stable branch of code, that's how you
introduce bugs. You don't want bugs do you?
It's also a "Won't fix" because it does work in PHP4 if you simply
follow the instructions:
For Linux: Compile OpenSSL support in staticly rather than as a shared
module. ./configure --with-openssl rather than ./configure
--with-openssl=shared
For Windows: Use the alternate php4libts.dll provided at
http://ftp.proventum.net/pub/php/win32/misc/openssl/
Creating a drama out of being "forced" to move to PHP5 to get ssl
sockets to work seems...well... childish is a good word isn't it?
Previous Comments:
------------------------------------------------------------------------
[2004-06-16 15:30:47] webmaster at zaedno dot de
Somehow find it childish - will not fix it? What does this mean - I
should migrate to PHP5 only because you find this not important enough.
Pls reconsider this - I saw an hour ago that there are other fixes
poping up in snaps.php.
------------------------------------------------------------------------
[2004-05-04 23:03:40] wez@php.net
Err, I obviously was reading the odd-one-out comment.
Restoring status.
------------------------------------------------------------------------
[2004-05-04 23:01:10] wez@php.net
You must build the openssl statically to use this feature.
There is a static version for windows, provided by Emini, who are also
responsible for our win32 snapshots:
http://ftp.emini.dk/pub/php/win32/openssl/
We won't fix this in PHP 4, but it has already been fixed in PHP 5 (you
can load openssl dynamically in PHP 5).
------------------------------------------------------------------------
[2004-05-04 21:57:10] scott at marinar dot com
The same is seen here with php 4.3.6 freshly compiled on Debian /
Linux. Configure command is "./configure --enable-bcmath
--with-openssl=/usr/local/openssl --with-mysql
--with-apxs=/usr/bin/apxs --prefix=/usr/local"
This bug persists through reloads of apache; apache version is 1.3.26.
With so many people obviously affected by this PHP bug across multiple
platforms, I'm concerned that the answer from PHP seems to be "it's not
a PHP problem" promptly followed by marking threads as bogus.
--Scott!
------------------------------------------------------------------------
[2004-03-19 03:39:53] andrew at shh dot fi
The error is real except this guy has the wrong script.
I have the same problem - this is the script:
$method = "ssl://";
$host = "myserver.com";
$port = 443;
$fp = fsockopen($method.$host, $port, $errno, $errstr, $timeout = 30);
I get the error:
Warning: fsockopen(): no SSL support in this build
AND SSL is loaded in php. Its a bug I patch on windows, but need one
for linux
------------------------------------------------------------------------
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
http://bugs.php.net/26016--
Edit this bug report at http://bugs.php.net/?id=26016&edit=1