ID: 12594 Comment by: norm at whocares dot net Reported By: huib at bestia dot net Status: Bogus Bug Type: Dynamic loading Operating System: Windows 2000 PHP Version: 4.0.6 New Comment:
I was also having the same issue on WinXP loading the php_mssql.dll and placing ntwdblib.dll in my extension_dir as well as my %SYSTEMROOT% solved the issue. Thanks for all the help! Previous Comments: ------------------------------------------------------------------------ [2004-07-29 19:56:49] destes at ix dot netcom dot com I had a similar problem with php_mssql.dll . Turns out the key was to copy the bundled DLL (ntwdblib.dll) to my extension_dir as well as my %SYSTEMROOT%, and i no longer got those notices. I expect that if I have to load any additional extensions that have bundled DLLs, i'll need to copy them all over god's green earth as well. As for the "RTFM" folks, I can see this being properly reported as a bug, because the error description should indicate that it's missing a necessary bundled DLL - not just say "unable to load library". I mean, honestly, the function that claims it's failing is called Unknown(), how much more bug-like can you get? How about CTFM, Clarify the Fing Messages? ------------------------------------------------------------------------ [2004-01-07 04:40:08] anon at hotmail dot com Read the FM and several other postings and it still didn't work - no matter what is in PHP.ini. Finally found that if you put php_mssql.dll in winnt\system32 it works fine. Lucky there's a few people who aren't condescending out there. ------------------------------------------------------------------------ [2003-03-17 02:03:49] cg at gordimer dot net >From www.php.net/install.windows: Some of these extensions need extra DLLs to work. Couple of them can be found in the distribution package [...] Copy the bundled DLLs from 'DLLs' folder to your Windows PATH [...] >From www.php.net/xslt: Note to Win32 Users: In order to enable this module on a Windows environment, you must copy sablot.dll from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. So - RTFM... Christoph ------------------------------------------------------------------------ [2003-03-16 19:49:35] dopeline at hotmail dot com I'm having the same exact problems except w/ php_domxml.dll, php_xslt.dll, and php_xmlrpc.dll. In fact, I'm testing this on two separate computers each w/ Win XP Pro and each w/ the exact same installation, IIS, and directory settings. It works perfectly on one and not at all on the other, and I've spent DAYS researching this error. Replying "RTFM" isn't very helpful. What would be helpful is explaining why this error is happening, because, as far as I can tell, it's a bug in the windows version of PHP, not a user config error. ------------------------------------------------------------------------ [2002-12-23 03:05:22] sdfsd at dsfd dot csd If you have any trouble sounding condescending, find a Unix user to show you how it's done. ------------------------------------------------------------------------ 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/12594 -- Edit this bug report at http://bugs.php.net/?id=12594&edit=1