Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 20:15:40 +0200
From:      Michael Ranner <mranner@inode.at>
To:        freebsd-ports@freebsd.org
Cc:        ale@FreeBSD.org
Subject:   Static php4-openssl extension needed was: Missing SSL support in core php4
Message-ID:  <200409012015.40429.mranner@inode.at>
In-Reply-To: <200408291235.53851.mranner@inode.at>
References:  <200408291235.53851.mranner@inode.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Description:
------------
fsockopen() does not support SSL/TLS with shared OpenSSL extension. PHP
4.3.8 build from FreeBSD Ports with shared extenstions. Extension is
loaded according phpinfo(). Squirrelmail and other applications cannot
use fsockopen() with tls. I need to compile PHP4 with the static
OpenSSL extension.

Response from pollita@php.net:
------------------------------

It's known, it's been reported (many times) and can't be fixed within
the framework of PHP4.  PHP5 however abstracts transports out in a way
that makes it all work whether OpenSSL is compiled as a shared module
or staticly.

For PHP4, your only option is to compile the module staticly.  To bodge
dynamic registration of ssl:// and tls:// transports into PHP4 would
represent a major code change which will not happen within a point
release.


So maybe we can optionally build static OpenSSL extension for PHP4 in FreeBSD 
to not break SSL support in core functions.

-- 
/\/\ichael Ranner

mranner@inode.at - mranner@jawa.at - mranner@bugat.at
-----------------------------------------------------
   BSD Usergroup Austria - http://www.bugat.at/

-----BEGIN GEEK CODE BLOCK-----
GIT/CS/AT dx(-) s+:(++:) a- C++ UBLVS++++$ P++>+++$ L-(+)$ E---
W+++$ N+(++) o-- K- w--()$ O-(--) M@ V-(--) PS+>++ PE(-) Y+ PGP(-)
t+ 5+ X+++(++++) R* tv++ b+(++) DI++ D-(--) G- e h--(*) r++ y?
------END GEEK CODE BLOCK------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409012015.40429.mranner>