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:
Yes, confirmed. I knew it worked with XP SP3, and since I can't get to that 2000 system now, I just installed the 2008 runtime on an old 2000 laptop (same service pack and all) and tried the latest 5.3 snap. The OP's error is the one I'm seeing. Previous Comments: ------------------------------------------------------------------------ [2009-04-14 09:55:01] paj...@php.net I do not have a windows 2000 to test (fetching one now). Can you confirm that it works with XP but not with 2000 (if you can :) please? ------------------------------------------------------------------------ [2009-04-14 09:48:46] matt...@php.net 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. ------------------------------------------------------------------------ [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