gethostbyname problem on PHP under WinXP and Win2000

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Lebedinsky Alexander
Guest





PostPosted: Fri Jul 05, 2002 9:37 pm    Post subject: gethostbyname problem on PHP under WinXP and Win2000 Reply with quote

I am running server locally and use PHP.
I have "hosts" file that have line "127.0.0.1 localhost".

When I trying to get a page from PHP script from URL "http://localhost/cgi-bin/my_script_2.php", I have got error
"Warning: php_network_getaddress: gethostbyname failed in my_script_2.php"

If I use 127.0.0.1 instead localhost, I have the same error.
I have this problem under XP and win2K, but under Wind98 all works perfectly.

Help me, If you know what is it.
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Jul 06, 2002 2:02 am    Post subject: Re: gethostbyname problem on PHP under WinXP and Win2000 Reply with quote

Lebedinsky Alexander wrote:
I am running server locally and use PHP.
I have "hosts" file that have line "127.0.0.1 localhost".

When I trying to get a page from PHP script from URL "http://localhost/cgi-bin/my_script_2.php", I have got error
"Warning: php_network_getaddress: gethostbyname failed in my_script_2.php"

If I use 127.0.0.1 instead localhost, I have the same error.
I have this problem under XP and win2K, but under Wind98 all works perfectly.

Help me, If you know what is it.

This problem is not related to Abyss Web Server. PHP when executing gethostbyname was unable to do a reverse DNS matching. Check if DNS servers are correctly configured in your Windows networking settings.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group