Socket problems under 4.0.6(!)

From: Date: Mon, 25 Jun 2001 03:00:49 +0000
Subject: Socket problems under 4.0.6(!)
Groups: php.install 
Request: Send a blank email to php-install+get-3332@lists.php.net to get a copy of this message
Hi all. I downloaded and built PHP 4.0.6 tis morning ( RH6 ) w/ apache 1.3.20. The following code fails *everytime*: <?php $fd = fopen("http://www.php.net/", "r" ); if($fd) { fpassthru($fd); } ?> The two errors I receive are: Warning: php_network_getaddresses: getaddrinfo failed. Name of service not known in /usr/local/apache/htdocs/phptest3.php4. I also have a very similar problem with fsockopen. It doesn't work at all. Does one need to configure something before? Thanks, Katie. ===== __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

« previous php.install (#3332) next »