Error with fopen: php_network_getaddresses getaddrinfo
Posted: Thu Apr 21, 2005 5:54 am
Hello,
maybe someone can give me a little hint:
This is my script
And this is the result:
PHP.INI is ok (allow_url_fopen = on).
What else can be wrong?
Thnks
Martin
d11wtq | Please read the notes about posting code in the forums
maybe someone can give me a little hint:
This is my script
Code: Select all
<?php
$fd=fopen("http://www.heise.de","r");
fclose($fd);
?>And this is the result:
System is a debian, nslookup/ping/dns-resolution works fine (ping ok, curl ok).fopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in
/var/www/internet-test/demo.php on line 2
PHP.INI is ok (allow_url_fopen = on).
What else can be wrong?
Thnks
Martin
d11wtq | Please read the notes about posting code in the forums