ID: 47963 Comment by: cranderson at att dot 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:
Hi, Sorry about the delay getting back to this issue (taxes crap). Anyway, the offending file in Win2000 Server/Pro and family is ws2_32.dll. This file is part of service pack 4. It is NOT related to VC6/9, etc. (I have VC9 installed so that I can run the Apache distro from Apache Lounge.) It does not have the getaddrinfo function. This link: http://msdn.microsoft.com/en-us/library/ms738520(VS.85).aspx describes the problem in detail. Unfortunately, anything less than XP service pack 2 will exhibit this behavior and will be unable to load PHP 5.3. Microsoft is not going to update ws3_32.dll since it would involve tearing out winsock and supporting files. The file is always in use by the OS, so I was unable to overwrite the DLL with a copy from 2003 server - maybe safe mode but I don't have the nerve. Carl Previous Comments: ------------------------------------------------------------------------ [2009-04-14 11:04:26] matt...@php.net I haven't used that tool before, so not exactly sure what I'm supposed to check, sorry. :-/ But anyway, selecting WS2_32.DLL under PHP.EXE > PHP5TS.DLL, the *addrinfo functions aren't in the bottom pane on 2000, and in the upper pane, freeaddrinfo/getaddrinfo are red instead of green on XP. Additionally, on 2000, the log area says "Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module." Is that even close to anything you wanted to know...? A little lost in this area, but if you give me instructions, hopefully I can help. :-) (I'll be away for a bit now...) ------------------------------------------------------------------------ [2009-04-14 10:23:51] paj...@php.net Ok, I can't get a windows 2000 easily. But reading again the error, it has nothing to do with the headers (we use them correctly or it will not even compile) but with the fact that your ws2 dll does not expose or contain getaddrinfo. Can you send verify it using depends.exe please? ------------------------------------------------------------------------ [2009-04-14 10:12:22] matt...@php.net 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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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/47963 -- Edit this bug report at http://bugs.php.net/?id=47963&edit=1