Hello.
I've read all the documentation I can find about https POSTs using curl, fsockopen
with "ssl://",
even PEAR's Net_Socket package, but I'm running into a PHP problem I haven't seen
before.
Platform Info:
OpenBSD 2.9, PHP 4.3.2, Apache 1.3.27, ModSSL 2.8.14, OpenSSL 0.9.6, curl 7.9.8
(I've installed curl 7.10.5, but PHP configure refuses to see it even when I specify
the path,
"--with-curl=/usr/local/curl" -- it uses the default 7.9.8 install in /usr/local no
matter what I
do).
I'm testing all my code on my Mac OS X server and everything works fine, but I'm
running into
problems when I try to move it to my main server running OpenBSD 2.9 -- I can't get
any of these
methods to connect to a particular target server (running MS Site Server, btw) -- all
attempts
return nothing. Yes, I'm also talking to the admins of the target server, but some
error
messages on my end concern me.
- Using Snoopy (which uses curl for https posts), it reports an error 6 = "Couldn't
resolve
host".
- Using fsockopen with ssl://, my error log reads:
"PHP Warning: fsockopen(): unable to connect to [secure.host.name]:443
PHP Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: no address
associated with name (is your IPV6 configuration correct? If this error happens all
the time, try
reconfiguring PHP using --disable-ipv6 option to configure)"
(I've tried reconfiguring php with "--disable-ipv6" and reinstalling, but I continue
to get the
same message).
Anyone have any penetrating insights?
Thanks in advance...
Alex
- - - - - - - - - -
af at ax-im dot com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php