#47963 [Opn->Fbk]: PHP does not load - getaddrinfo doesn't exist
| From: | pajoye@php.net | Date: | Mon, 13 Apr 2009 21:43:31 +0000 |
| Subject: | #47963 [Opn->Fbk]: PHP does not load - getaddrinfo doesn't exist | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-135789@lists.php.net to get a copy of this message | ||
ID: 47963
Updated by: pajoye@php.net
Reported By: cranderson at att dot net
-Status: Open
+Status: Feedback
Bug Type: *Configuration Issues
Operating System: Windows 2000
PHP Version: 5.3.0RC1
New Comment:
Does it work on XP or do you see this error only on windows 2000? If
yes, which service pack do you use?
Previous Comments:
------------------------------------------------------------------------
[2009-04-13 21:37:38] cranderson at att dot net
Description:
------------
Windows Binary:
php-5.3-win32-VC9-x86-latest.zip
(Win2000 Pro/Win2000 Server - VC9 libraries installed)
Windows error message:
"The procedure entry point getaddrinfo could not be located in the
dynamic link library ws2_32.dll."
Microsoft Link:
http://msdn.microsoft.com/en-us/library/ms738520(VS.85).aspx
In brief:
The getaddrinfo function was added to the Ws2_32.dll on Windows XP and
later. To execute an application that uses this function on earlier
versions of Windows, then you need to include the Ws2tcpip.h and
Wspiapi.h files.
getaddrinfo support on versions of Windows earlier than Windows XP is
limited to handling IPv4 name resolution.
The GetAddrInfoW function cannot be used on versions of Windows earlier
than Windows XP with SP2.
Thanks,
Carl
Reproduce code:
---------------
// cli sapi
php -v
Expected result:
----------------
PHP version.
Actual result:
--------------
Windows error message:
"The procedure entry point getaddrinfo could not be located in the
dynamic link library ws2_32.dll."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47963&edit=1