Hy,

i've got a apache 1.3.20 running on a Solaris 8 Operating System in a
chrooted environment. There is PHP 4.1.2 as dso apache module compiled.

I've checked the libphp4.so with ldd to get all shared libraries into
the chrooted environment. All seems to look good, except the name
resolving via fsockopen, this does not work. If i try the following

$fp = fsockopen ("whois.somewhere.com", 43, &$errno, &$errstr, 30);
echo "$errno\t     $errstr\t     $fp\n";
fputs($fp,$somestring);

I always receive a error that the file pointer $fp is not a valid file
handle. $errno and $errstr are not set at this moment. If i try to
connect to an IP Address all works well.

Any hints are welcome.

TIA
Oliver Schlag


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to