Static php4-openssl extension needed was: Missing SSL support in core php4

Joerg Pulz Joerg.Pulz at frm2.tum.de
Tue Sep 7 22:55:08 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 7 Sep 2004, Stijn Hoop wrote:

> Hi Michael,
>
> On Wed, Sep 01, 2004 at 08:15:40PM +0200, Michael Ranner wrote:
>> 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.
>
> I just ran into this exact same problem. What did you do to solve this?
> I'm considering adding --with-openssl=${OPENSSLBASE} to the port.
> Does this work? Thanks for any advice.

hi,

the same problem here for me.
attached is a small diff for lang/php4/Makefile.
run 'make config' in lang/php4-extensions and make sure that the OPENSSL 
point is deselected/unchecked or if php4-openssl-... is already installed 
please deinstall it to avoid conflicts.

it works for me.
maybe it's a good idea to remove the OPENSSL option from 
lang/php4-extensions and build lang/php4 everytime with openssl or make it 
an option there.

regards
Joerg

- -- 
The beginning is the most important part of the work.
 				-Plato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBPp6xSPOsGF+KA+MRAke8AKCl3nXJZj6IdskVAZX6JR0inYb/NACcDm2V
Hx39o+L1MuVfQ5kFpqSr8JE=
=s+fy
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/php4/Makefile,v
retrieving revision 1.77
diff -u -r1.77 Makefile
--- Makefile	28 Jul 2004 08:59:35 -0000	1.77
+++ Makefile	8 Sep 2004 05:53:59 -0000
@@ -26,12 +26,13 @@
 GNU_CONFIGURE=	yes
 USE_BISON=	yes
 USE_REINPLACE=	yes
+USE_OPENSSL=	yes
 
 CONFIGURE_ARGS=	--enable-versioning \
 		--enable-memory-limit \
 		--with-layout=GNU \
 		--with-config-file-scan-dir=${PREFIX}/etc/php \
-		--disable-all
+		--disable-all --with-openssl=${OPENSSLBASE}
 
 .if !defined(WITH_REGEX_TYPE) || ${WITH_REGEX_TYPE} == "php"
 CONFIGURE_ARGS+=--with-regex=php


More information about the freebsd-ports mailing list