This is a discussion on "XSLTProcessor class not found" within the PHP Language forums, part of the PHP Programming Forums category; On WinXP, IIS 5.1, PHP 5.04 manually installed from php504 win32.zip I cannot get xslt and xml ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On WinXP, IIS 5.1, PHP 5.04 manually installed from php504 win32.zip
I cannot get xslt and xml functions to run. Most advice from dredging the net suggests enabling "php_xslt" and "php_xml" exts, but these do not exist in 5.04. In "ext" folder are folders "libxml" and "libxslt" both of which contain subfolders, including "bin" folder in each, containing "libxml2.dll" and "libxslt.dll". Some advice recommends moving these two dlls to the main folder but this too does not work. Any help would save whats left of my hair :^( -- Tony Bishop www.bishfish.co.nz New Zealand |
|
|||
|
Download the complete php zip package and copy the xsl dll from the zip
to php directory. Check this link for zip download http://us4.php.net/get/php-5.0.3-Win.../from/a/mirror Bishfish wrote: > On WinXP, IIS 5.1, PHP 5.04 manually installed from php504 win32.zip > > I cannot get xslt and xml functions to run. > Most advice from dredging the net suggests enabling "php_xslt" and "php_xml" > exts, but these do not exist in 5.04. > In "ext" folder are folders "libxml" and "libxslt" both of which contain > subfolders, including "bin" folder in each, containing "libxml2.dll" and > "libxslt.dll". > Some advice recommends moving these two dlls to the main folder but this too > does not work. > > Any help would save whats left of my hair :^( > > -- > Tony Bishop > www.bishfish.co.nz > New Zealand |
|
|||
|
Thanks Mathew, using your info and some more I discovered;
move libxslt.dll, libxml2.dll, from the ext\libxml and ext\libxslt bin folders to the php directory. Here is the kicker for novices like me, check using phpinfo.php that the IIS sever configuration pionts to php.ini in the php directory if that is where it actually is (as recommended)! - by default it pionts to C:\windows - you can change this after installation by adding variable "PHPRC" with a value "C:\php" in your environment variables. Seems to be working for me. |