From: cranderson at att dot net Operating system: Windows 2000 PHP version: 5.3.0RC1 PHP Bug Type: *Configuration Issues Bug description: PHP does not load - getaddrinfo doesn't exist
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 bug report at http://bugs.php.net/?id=47963&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47963&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47963&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47963&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47963&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47963&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47963&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47963&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47963&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47963&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47963&r=support Expected behavior: http://bugs.php.net/fix.php?id=47963&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47963&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47963&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47963&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47963&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47963&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47963&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47963&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47963&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47963&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47963&r=mysqlcfg