The solutions to the earlier question regarding this topic didn't help me, unfortunately. Either they don't apply to my situation or I'm implementing them incorrectly . . . but, anyway, here are the pertinent facts:
We're running PHP 5.2.1 and Apache HTTP Server 2.2.4 on a Windows 2000 machine. Our application was originally written in PHP 4.2.3. It includes a lot of XML-related code and XSL transformations. I have adapted the XML-related code to the new version of PHP successfully but the XSLT stuff doesn't want to work. We keep getting a "Class 'XSLTProcessor' not found" error when we try to create a Word document out of our XML.
- I've checked that the extension .DLLs are in the folder specified in the extension_dir line of the php.ini file.
- I put the iconv.dll, expat.dll, and sablot.dll files in the same folder. I'm not sure if they're actually supposed to be in the same place but that's where I put them. I threw in libxslt.dll for good measure.
- I made sure the folder containing the extensions was inside the folder listed in the PATH environment variable. Next, I even added the folder explicitly to the PATH.
- I've restarted both Windows and Apache.
I keep getting the same error . . . PHP just can't find what it needs and I don't know how to tell it where to look. Any suggestions anyone can provide here would be much appreciated. Thanks.
Start Free Trial