Bug #12813 Updated: Bug id #11058 but on linux.
| From: | frank at telvia dot it | Date: | Mon, 20 Aug 2001 13:41:09 +0000 |
| Subject: | Bug #12813 Updated: Bug id #11058 but on linux. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63827@lists.php.net to get a copy of this message | ||
ID: 12813
User updated by: frank@telvia.it
Reported By: frank@telvia.it
Status: Open
Bug Type: Network related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
It looks like the getaddrinfo function dont consider the /etc/hosts file so if a domain cant be
converted to an ip using dns server then the error will show.
if i try to do:
include("on.my.etc.hosts.files/whatever") the error will show up
if i do
include("my.real.domain.on.the.internet") everything will work fine
Frank "Pazzooo" Contrepois
Previous Comments:
------------------------------------------------------------------------
[2001-08-17 11:04:29] frank@telvia.it
System Linux bato 2.2.19 #1 Thu Jun 7 10:44:22 Local time zone must be set--see zic manuali686 i686
unknown
Build Date Aug 17 2001
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--prefix=/usr/local/php' '--with-openssl=/usr/local/' '--with-pgsql'
'--without-mysql'
Server API Apache
when I try to fopen or include an url i got 2 warning:
Warning: php_network_getaddresses: getaddrinfo failed: Name or service not known in
/home/www/motoko/htdocs/cwnd-xml/parser-site-xml.php on line 374
Warning: Failed opening 'http://www.motoko.lan/cwnd-xml/CORPO/cwnd-parser-materiale.php?url=cwnd-materiale.xml'
for inclusion (include_path='.:/usr/local/php/lib/php') in
/home/www/motoko/htdocs/cwnd-xml/parser-site-xml.php on line 374
everything work fine with windows using fopen
Frank "Pazzooo" Contrepois
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12813&edit=1