[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
apache user is unable to resolve IP addresses in F10
- From: "Christopher Stone" <chris stone gmail com>
- To: "Development discussions related to Fedora" <fedora-devel-list redhat com>
- Subject: apache user is unable to resolve IP addresses in F10
- Date: Thu, 4 Dec 2008 17:35:34 -0800
The following PHP code is not working in F10:
<?php
$fp = fsockopen ("redhat.com", 80, $errno, $errstr, 30);
if (!$fp) echo "$errstr ($errno)<br>\n";
else { echo "worked"; fclose($fp); }
?>
Result: php_network_getaddresses: getaddrinfo failed: Name or service
not known (0)
Adding redhat.com's IP to my /etc/hosts gets it to work, but obviously
this is not the correct solution to the problem.
Can anyone else here reproduce this on their F10 web servers? Or am I
all alone?
NOTE: I get same results in both Permissive and Enforcing selinux modes.
This was working in F9, it just started happening when I upgraded.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]