For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2004 > Problems with XSLT on PHP5.0.1 Fatal error: Call to undefined function xslt_create()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problems with XSLT on PHP5.0.1 Fatal error: Call to undefined function xslt_create()
Eric McDonald

2004-08-26, 4:00 pm

Hi there:

I installed PHP5.0.1 on Solaris 9 and pointed to libxml2-2.6.12 and libxs=
lt-1.1.9 with the following:

./configure --with-apxs=3D/usr/local/apache/bin/apxs --with-libxml-dir=3D=
/usr/local/src/libxml2-2.6.12 --with-xsl=3D/usr/local --with-xml=3D/usr/l=
ocal --with-expat=3D/usr/local --with-freetype --with-freetype-dir=3D/usr=
/local --with-xlmrpc=3D/usr/local

Everything built fine, and from a phpinfo test page I get:

libxml
libXML support active =20
libXML Version 2.6.12 =20
libXML streams enabled =20

and

xsl
XSL enabled =20
libxslt Version 1.1.9 =20
libxslt compiled against libxml Version 2.6.12 =20
EXSLT enabled =20
libexslt Version 1.1.9 =20

However, when I try to bring up a page with XML/XSL code in it, apache ig=
nores/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 pag=
e shows it turned on, so why is it not doing xslt transforms?

Thanks,

Eric Mcdonald
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com