View previous topic :: View next topic |
Author |
Message |
Lebedinsky Alexander Guest
|
Posted: Fri Jul 05, 2002 9:37 pm Post subject: gethostbyname problem on PHP under WinXP and Win2000 |
|
|
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
|
Posted: Sat Jul 06, 2002 2:02 am Post subject: Re: gethostbyname problem on PHP under WinXP and Win2000 |
|
|
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 |
|
|
|