Re: Php5 - xsl extension not working



On Mon, 05 May 2008 05:11:51 +0200, Chuck Anderson <websiteaddress@xxxxxxxxx> wrote:

I can tell I'm not alone in my confusion, as I've been using Google to find a solution to this problem and all I can find is the same question, but no solution.

I am running Php 5.25 (Windows binary from php.net) as an Apache 2.0.55 module on Windows XP.

I have enabled the xsl extension - php_xsl.dll - in php.ini and indeed, when I look at phpinfo I see all the needed libraries (i.e., DOM/XML, libXML, XSL, libxslt) are enabled.

Yet, if I try to call xslt_create(), I get:
"Fatal error: Call to undefined function xslt_create() in ....."

Any idea what I need to do to get this working?

Detail from phpinfo:
-------------------------
dom

libxml

xml

xsl
XSL enabled
libxslt Version 1.1.17
libxslt compiled against libxml Version 2.6.26
EXSLT enabled
libexslt Version 0.8.13

And XSLT?

http://nl2.php.net/manual/en/xslt.installation.php
Check out sablot.dll, expat.dll, and iconv.dll.

P.S: for PHP >= 5 I'd recommend XSL instead of XSLT.
--
Rik Wasmus
.



Relevant Pages

  • Php5 - xsl extension not working
    ... I have enabled the xsl extension - php_xsl.dll - in php.ini and indeed, when I look at phpinfo I see all the needed libraries (i.e., DOM/XML, libXML, XSL, libxslt) are enabled. ... XML Support active ...
    (comp.lang.php)
  • Re: Php5 - xsl extension not working
    ... I have enabled the xsl extension - php_xsl.dll - in php.ini and indeed, when I look at phpinfo I see all the needed libraries (i.e., DOM/XML, libXML, XSL, libxslt) are enabled. ...
    (comp.lang.php)
  • Re: Php5 - xsl extension not working
    ... I have enabled the xsl extension - php_xsl.dll - in php.ini and indeed, when I look at phpinfo I see all the needed libraries (i.e., DOM/XML, libXML, XSL, libxslt) are enabled. ... In most projects, I'd say the conversion database -> XML -> HTML would be an unnecessary step, and database -> HTML is just a lot less overhead. ...
    (comp.lang.php)
  • Re: Php5 - xsl extension not working
    ... I am running Php 5.25 (Windows binary from php.net) as an Apache 2.0.55 module on Windows XP. ... I have enabled the xsl extension - php_xsl.dll - in php.ini and indeed, when I look at phpinfo I see all the needed libraries are enabled. ... I had tried a quick test of that previously and it failed, but I must have misspelled something, as the XSLTProcessor class does indeed work. ...
    (comp.lang.php)
  • Re: VW7.x -- XSLT -- Passed Template Arg Not Available
    ... VW7.3 and 7.4 both fail when doing a simple (and common) XSL ... We now use calls to libxslt instead, this code has been published to public store as LibXSLT. ...
    (comp.lang.smalltalk)