ID:               48761
 Comment by:       bruce at thinkcorporate dot com
 Reported By:      aheckmann at m-s dot de
 Status:           To be documented
 Bug Type:         Reproducible crash
 Operating System: win32 only - Windows 2000 SP4
 PHP Version:      5.3.0
 New Comment:

Specifically where do I obtain and include the mentioned Ws2tcpip.h and
Wspiapi.h files as the "fix" to getaddrinfo on older versions of
Windows?

Does the PHP.exe need to be recompiled with the mentioned includes?


Previous Comments:
------------------------------------------------------------------------

[2009-08-14 23:40:34] bruce at thinkcorporate dot com

I run IIS 6 on W2K SP4 and get the same error.

I reviewed

http://msdn.microsoft.com/en-us/library/ms738520%28VS.85%29.aspx

How do I implement the fix?

------------------------------------------------------------------------

[2009-08-10 11:45:18] paj...@php.net

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".

------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

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

Reply via email to