ID: 48761 Comment by: aheckmann at m-s dot de Reported By: aheckmann at m-s dot de Status: Open Bug Type: Reproducible crash Operating System: win32 only - Windows 2000 SP4 PHP Version: 5.3.0 New Comment:
In my opinion this document from microsoft describes the solution to fix the problem for older windows versions that don't have the getaddrinfo function with an inline function: http://msdn.microsoft.com/en-us/library/ms738520%28VS.85%29.aspx Support for getaddrinfo on older versions of Windows 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. When the Wspiapi.h include file is added, the getaddrinfo function is defined to the WspiapiGetAddrInfo inline function in the Wspiapi.h file. At runtime, the WspiapiGetAddrInfo function is implemented in such a way that if the Ws2_32.dll or the Wship6.dll (the file containing getaddrinfo in the IPv6 Technology Preview for Windows 2000) does not include getaddrinfo, then a version of getaddrinfo is implemented inline based on code in the Wspiapi.h header file. This inline code will be used on older Windows platforms that do not natively support the getaddrinfo function. Will this be fixed, or is Win2k support dropped for php 5.3.x? The windows release notes for 5.3 only mentioned that pre-windows 2000 support is dropped. Thanks Previous Comments: ------------------------------------------------------------------------ [2009-07-01 22:19:11] aheckmann at m-s dot de Description: ------------ Tested with VC6 and VC9 (+vcredist_x86.exe) Version of PHP 5.3.0 PHP does not start an produces the following error message: php.exe - Entry Point Not Found : The procedure entry point getaddrinfo could not be located in the dynamic link library WS2_32.dll Reproduce code: --------------- php.exe -v Expected result: ---------------- php shows version info Actual result: -------------- Php does not start an shows the following error: php.exe - Entry Point Not Found : 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=48761&edit=1