|
|
|
apache user is unable to resolve IP addresses in F10 | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
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.
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list
[Fedora Announce] [Fedora Kernel] [Fedora Testing] [Fedora Legacy Announce] [Home] [Fedora Tools] [Fedora PHP Devel] [Kernel List] [Fedora Legacy] [Fedora Maintainers] [Fedora Maintainers] [Fedora Desktop] [PAM] [Red Hat Development] [Big List of Linux Books] [Gimp] [Yosemite News]
![]() |
![]() |