ID: 47963 Updated by: matt...@php.net Reported By: cranderson at att dot net Status: Feedback Bug Type: *Configuration Issues Operating System: Windows 2000 PHP Version: 5.3.0RC1 New Comment:
Yeah, I'm pretty sure this is the error I was getting in 2000 that I mentioned in Bug #47938. (Wondered whether the VC9 releases are supposed to work on 2000, though the VC9 notes don't say otherwise.) SP4 (+ Update Rollup 1) for me if you're asking about 2000's service pack. Previous Comments: ------------------------------------------------------------------------ [2009-04-13 21:43:30] paj...@php.net Does it work on XP or do you see this error only on windows 2000? If yes, which service pack do you use? ------------------------------------------------------------------------ [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