From: zefram at zefram dot net
Operating system: FreeBSD 4.9 STABLE
PHP version: 4.3.4
PHP Bug Type: OpenSSL related
Bug description: ssl stream not available
Description:
------------
I'm trying to use (not really php.net, but..)
fsockopen("ssl://www.php.net",443);
however, I'm getting an error that "no SSL support in this
build", which in fact it's not according to phpinfo(). I
only have the following streams: php, http, ftp,
compress.zlib. I'm supplying the following configure
options, and I stop/start apache after upgrading php, but
it's no go.
./configure --with-apache=../apache_1.3.29/ --with-mysql
--with-gd --enable-sockets --with-png-dir=/usr/include/
libpng --with-zlib-dir=/usr/include --with-jpeg-dir=/usr/
include/libjpeg --with-mhash --with-openssl
--with-openssl-dir=/usr/include/openssl
When I grep for SSL, I get:
checking for OpenSSL support... yes
checking for OpenSSL version... >= 0.9.6
checking for SSL_CTX_set_ssl_version in -lssl... (cached)
yes
checking OpenSSL dir for MCVE... /usr/include/openssl
checking OpenSSL dir for SNMP... /usr/include/openssl
The OpenSSL code does appear to compile in ext/openssl/.
I'm not sure what other information I can provide. Thanks
for any assistance,
John
--
Edit bug report at http://bugs.php.net/?id=26612&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26612&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26612&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26612&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26612&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26612&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26612&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26612&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26612&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26612&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26612&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26612&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26612&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26612&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26612&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26612&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26612&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26612&r=float