Problems with XSLT on PHP5.0.1 Fatal error: Call to undefined function xslt_create()
| From: | Eric McDonald | Date: | Wed, 25 Aug 2004 03:36:50 +0000 |
| Subject: | Problems with XSLT on PHP5.0.1 Fatal error: Call to undefined function xslt_create() | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-14214@lists.php.net to get a copy of this message | ||
Hi there:
I installed PHP5.0.1 on Solaris 9 and pointed to libxml2-2.6.12 and libxslt-1.1.9 with the
following:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-libxml-dir=/usr/local/src/libxml2-2.6.12
--with-xsl=/usr/local --with-xml=/usr/local --with-expat=/usr/local --with-freetype
--with-freetype-dir=/usr/local --with-xlmrpc=/usr/local
Everything built fine, and from a phpinfo test page I get:
libxml
libXML support active
libXML Version 2.6.12
libXML streams enabled
and
xsl
XSL enabled
libxslt Version 1.1.9
libxslt compiled against libxml Version 2.6.12
EXSLT enabled
libexslt Version 1.1.9
However, when I try to bring up a page with XML/XSL code in it, Apache ignores/errors it or I get
the following error:
Fatal error: Call to undefined function xslt_create() in ....
It certainly appears that I've enabled it correctly, and the PHP Info page shows it turned on,
so why is it not doing xslt transforms?
Thanks,
Eric Mcdonald