php4 and static ssl

Ken nekvas at daydream.net
Fri Jul 23 14:32:09 PDT 2004


Since the new php4 changes happened in ports, I have a problem using
fsockopen() in my code. I'm getting:

Warning: fsockopen(): no SSL support in this build

A quick check with phpinfo() shows that ssl support is enabled in my 
build via the extension. From what I've read, openssl needs to be 
statically linked to php for there to be ssl support in fsockopen(). Can 
anyone give me a clue as to how to do this with the new way that php is 
now broken up in to php-extensions and such?

Thanks a million for any help.


More information about the freebsd-questions mailing list