PHP + Apache, chrooted not resolving names

From: Date: Mon, 06 May 2002 17:21:12 +0000
Subject: PHP + Apache, chrooted not resolving names
Groups: php.install 
Request: Send a blank email to php-install+get-6877@lists.php.net to get a copy of this message
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

« previous php.install (#6877) next »