ID: 48761 Updated by: paj...@php.net Reported By: aheckmann at m-s dot de -Status: Assigned +Status: To be documented Bug Type: Reproducible crash Operating System: win32 only - Windows 2000 SP4 PHP Version: 5.3.0 Assigned To: pajoye New Comment:
Only 2000 and xp with SP1 (or no SP) are affected. 2003 does work as expected. By the way, I very much doubt that most servers use 2000. Set as "to be documented". Previous Comments: ------------------------------------------------------------------------ [2009-07-29 23:00:21] jon dot harrell at gmail dot com Until this bug is fixed wouldn't it make sense to place a notice warning all potential users that the binary downloads at http://windows.php.net/download/ require XP SP2 or above? ------------------------------------------------------------------------ [2009-07-17 12:04:31] jet5y at hotmail dot co dot uk However, considering that most servers running it would either be 2000 or 2003 and not XP then a workaround would seem more sensible at the slight detriment for now of XP SP2 systems. ------------------------------------------------------------------------ [2009-07-02 23:48:19] ka...@php.net The problem with fixing this (by doing an include to emulate the functions on systems without it (Windows 2000, XP prior SP2) is that it will slow down for other system that already got it, as it will attempt to load the ws2_32 library and search for the symbol locations, which is just slowing us down for no *real* reason. The question whether to fix this is trival, Me, Pierre and the others will discuss this and how to deal with it. ------------------------------------------------------------------------ [2009-07-02 17:08:20] jon dot harrell at gmail dot com If PHP support for w2k remains then use of GetAddrInfoW must be woked around. The article above explains very plainly that this function is XP SP2+ ONLY. Currently PHP 5.3 is not compatible with w2k-XP SP1. "The GetAddrInfoW function is the Unicode version of getaddrinfo. The GetAddrInfoW function was added to the Ws2_32.dll in Windows XP with Service Pack 2 (SP2). The GetAddrInfoW function cannot be used on versions of Windows earlier than Windows XP with SP2." ------------------------------------------------------------------------ [2009-07-02 10:18:42] johan...@php.net Win 2000 is the required minimum version, or should be, while I don't know about required service packs and other patches. Pierre? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/48761 -- Edit this bug report at http://bugs.php.net/?id=48761&edit=1