|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-30 16:12 UTC] sanondysie at tc17 dot com
[2004-08-05 23:44 UTC] edink@php.net
[2004-08-16 23:17 UTC] sanondysie at tc17 dot com
[2004-08-17 08:07 UTC] derick@php.net
[2004-08-17 09:48 UTC] vrana@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
Description: ------------ This problem seems to present itself only on Win98 systems (possibly on other Win9x as well). I have tested this on an almost-out-of-the-box Win98 system as well a Win98 system with all the latest MS patches including MSIE 6.0 SP1; symptoms are identical. Systems ARE able to use the curl extension; systems ARE able to use the gd2 extension. Systems are NOT able to use the IMAP extension. There are many Usenet messages about this problem as well; there doesn't seem to be any solution that has been shown to work. Symptoms can be demonstrated by either: 1) configure imap with php.ini, or 2) <?php dl ("php_imap.dll"); ?> The error message returned is something like: Unable to load dynamic library ...php_imap.dll - A device attached to the system is not functioning. A little bit more analysis with \windows\system\regsvr32 gives: LoadLibrary ...php_imap.dll failed GetLastError returns 0x0000001f. The 0x1f (31) error maps to "device attached to the system is not functioning" is apparently a catch-all for errors for which the original programmers could not be bothered supplying details. However, this is NOT the error shown for missing DLLs (that's a 0x4xx error); Analysis with scanbin (available from: http://www.bellamyjc.net/) seems to show that there are two presumed problems with calls: KERNEL32: LoadLibrarya KERNEL32: GetProcAddress The conclusion seems to be that the problem is inherent in php_imap.dll itself, possibly the way in which is is built; possibly some subtle API interface problem (with KERNEL32), a difference between Win9x and WinNT kernels?