XSL On WampServer
Posted by: shakes911 (---.range86-128.btcentralplus.com)
Date: December 17, 2005 10:18AM

I recently installed wampserver which packages php5, phpmyadmin and apache. All seems to work fine except when I try to use XSL functions such as xslt_create() I receive the following error:

Fatal error: Call to undefined function xslt_create()

I've uncommented the xsl extension : extension=php_xsl.dll

phpinfo states the following :

XSL enabled
libxslt Version 1.1.7
libxslt compiled against libxml Version 2.6.11
EXSLT enabled
libexslt Version 0.8.5

So, I believe XSL is enabled but the functionality doesn't seem to be available to me, does anyone have any idea how I can resolve this?

Thanks

Options: ReplyQuote
Re: XSL On WampServer
Posted by: Romain Bourdon (---.fbx.proxad.net)
Date: December 18, 2005 11:01AM

Haven't you misstyped the function name?

It does work on my wamp.

Romain

Options: ReplyQuote
Re: XSL On WampServer
Posted by: shakes911 (---.range86-144.btcentralplus.com)
Date: December 18, 2005 12:57PM

I've tried both xsl_create() and xslt_create() with no job =(

Options: ReplyQuote
Re: XSL On WampServer
Posted by: shakes911 (---.range86-144.btcentralplus.com)
Date: December 18, 2005 12:58PM

with no joy rather ... not job =)

Options: ReplyQuote
Re: XSL On WampServer
Posted by: susan (---.direcpc.com)
Date: January 09, 2006 10:08PM

I'm having the same problem. I'm using web site software that works on older versions of apache/mysql/php but when I just installed WAMP on a PC and tried using the XSL extension I get the same error message as shakes911. Has anyone solved this? I don't think it is a case of mis-typing the function call as Romain suggested because this is software that I copied from another system that I'm using and it works there.

Thanks in advance for any tips or advice on this annoying problem.

Options: ReplyQuote
Re: XSL On WampServer
Posted by: shakes911 (---.range86-128.btcentralplus.com)
Date: January 10, 2006 08:28AM

Hi Susan

I figured out that it wasn't actually the wamp installation that was the problem, it was in fact my script. If you're using wamp with PHP 5+ the syntax for transforming XML with XSL has completely changed.

Hope this helps =)

Options: ReplyQuote


Sorry, only registered users may post in this forum.