Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP5 XSL issue WinXP/Apache2
July 21, 2004, 8:31 am
rate this thread
I have installed PHP5 to run on WinXP against Apache 2.
It works! ie. I have tested a few simple scripts and a basic xml
I now want to try the XSL extension so I can transform xml docs.
Having copied the php_xsl.dll to a directory where it can be found and
done the uncommenting in php.ini, it still will not work. The script I
use generates the following error on the php line
$proc = new XSLTProcessor;
Fatal error: Class 'XSLTProcessor' not found in >>the script file
Any ideas for sorting this will be most welcome.
Thank you in advance
Re: PHP5 XSL issue WinXP/Apache2
Hi Chung - thanks for the response.
Nothing doing I'm afraid - the class is not showing up.
I unzipped php 5 to 'c:\php5'.
Then copied 'php.ini-recommended' to 'windows\system32' renaming it to
Changed the 'doc_root' to point to the 'htdocs' location.
In the extensions part I removed the ';' to the 'extension =
Then copied the actual 'php_xsl.dll' from the dir 'ext', to be with
the others i.e. in 'c:/php5'.
The extension dir setting was left as original i.e. './'
(later tried setting it as 'c:/php5' and even 'c:/php5/').
The 'load module' bit was added to the 'httpd.conf' file in Apache2 as
'LoadModule php5_module c:/php5/php5apache2.dll'.
The application/mime type setting was done as per instructions.
That's it really. Still not working for some reason. Have I missed
As I said - php does run the simple test scripts I did (inc. a simple
xml file parse). It just seems to be the extensions that will not
Looking forward to some more ideas if any?!