hi,
i posted this under coding - but nobody responded and i guess here is the right place:
i have to use fsockopen() with ssl. the php 4.3.1 i'm using wasn't compiled with it, so i recompiled it.
phpinfo gives me this:
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6h 5 Dec 2002
and this for commands used to configure it:
'./configure' '--with-apxs=/.../apxs' '--with-mysql=/.../mysql' '--with-openssl=/.../ssl'
now the line of code like this:
$fp = fsockopen ("ssl://www.foo.com", 433, $errno, $errstr, 30);
produces this:
Warning: fsockopen() [function.fsockopen]: no SSL support in this build in /path/to/file...
can somebody explain why? is there any bugs with OpenSSL 0.9.6h and php 4.3.1 on *nix? i've been trying to solve this for a couple of days now....
thanks...