ID: 19092 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: XSLT related Operating System: Windows ME PHP Version: 4.2.2 New Comment:
If you're having problems getting this to work under Windows, here's how I got it working: (I'm running Windows 2000) - Download the zipped version of PHP 4.2.3. (about 5 meg) - Copy all the dlls you need (expat.dll, iconv.dll, salbot.dll) from the dlls directory into WINNT/SYSTEM32. - Copy php_xslt.dll from the extentions directory into WINNT/SYSTEM32. - In your php.ini file, set the extensions_dir = (That's right, leave it blank), and remove the ; from in front of extention=php_xslt.dll a little further down. When I did that, the error message(s) saying it couldn't find php_xslt.dll went away, and everything started to work. Once you get it working, you can probably set the extensions_dir and move the dlls there. Previous Comments: ------------------------------------------------------------------------ [2002-11-02 12:33:02] [EMAIL PROTECTED] well i need the following *.dlls to reomve that error: SABLOT.DLL MPR.DLL ------------------------------------------------------------------------ [2002-08-30 18:08:13] [EMAIL PROTECTED] That is not "exactly as documented" as the installation instructions for PHP 4.2.2 says that the loadable extensions can reside in a folder other than the system folder, and the example given (indeed the one created when in installation file is unzipped) is one called /php/extensions. That is what I used without error until I tried to enable the xslt module. ------------------------------------------------------------------------ [2002-08-30 17:37:53] [EMAIL PROTECTED] Exactly as documented. User error => Bogus ------------------------------------------------------------------------ [2002-08-30 17:33:17] [EMAIL PROTECTED] SOLVED!! I originally had all the PHP .dll files in the /php/extensions folder, and everything ran from there without a problem. It was when I tried to enable the php_xslt.dll that I started getting error messages about "unable to load dynamic library...". I checked it with Dependency Walker and this showed that two dll files were missing. It was suggested that I move all the dlls into the c:\windows\system folder, which I did, but when I checked with Dependency Walker the errors were still there. Because of the errors I did not try to run PHP with the xslt module enabled. But just today I enabled it so that I could check the error message again, but it did not appear! This seems strange because Dependency Walker will show the same errors whether the file is in the /php/extensions folder or the windows/system folder, but putting everything in the windows/system folder will NOT produce a runtime error. I can now access the xslt module, so this problem is now closed. Thanks for your efforts. ------------------------------------------------------------------------ [2002-08-28 17:33:14] [EMAIL PROTECTED] I have tried putting all the php*.dlls in the c:\windows\system folder as well as in the \php\extensions folder with exactly the same result. ------------------------------------------------------------------------ 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/19092 -- Edit this bug report at http://bugs.php.net/?id=19092&edit=1