I think your problems comes from configuring php with domxml instead of xslt
lib ( that requires sablotron).
You can use domxml's xslt transformations. I actually recomend it. It's
faster and in my opinion more flexible and reliable. (see
http://www.php.net/manual/en/ref.domxml.php for more info )


Extract from manual for installing sablotron:
<<
On UNIX, run configure with the --enable-xslt --with-xslt-sablot options.
The SablotronT library should be installed somewhere your compiler can find
it.
Make sure you have the same libraries linked to the SablotronT library as
those, which are linked with PHP. The configuration
options: --with-expat-dir=DIR --with-iconv-dir=DIR are there to help you
specify them. When asking for support, always mention these directives, and
whether there are other versions of those libraries installed on your system
somewhere. Naturally, provide all the version numbers.
>>

Extract from manual for installing domxml:
<<
This extension is only available if PHP was configured
with --with-dom[=DIR]. Add --with-dom-xslt[=DIR] to include DOM XSLT
support. DIR is the libxslt install directory. Add --with-dom-exslt[=DIR] to
include DOM EXSLT support, where DIR is the libexslt install directory.
>>

If you're still having problems, send me the config line for php.

Regards,
Lucian

"Steve Dieke" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am guesing that I have installed something incorrectly.  I am trying to
> use the function xslt_create().  I installed php v5 Beta 4 successfully.
but
> when I try to use the function xslt_create() I get the following error:
>
> Fatal Error: Call to undefined function xslt_create()
>
> I have a test php page that uses phpinfo() and here's what the xml related
> setting say.
>
> xml
> XML Support  active
> XML Namespace Support  active
> libxml2 Version  2.6.6
>
> xsl
> XSL  enabled
> libxslt Version  1.1.3
> libxslt compiled against libxml Version  2.6.6
> EXSLT  enabled
> libexslt Version  1.1.3
>
> My environment is the following:
> Fedora Core 1
> php - version 5 beta 4
> apache -  2.0.48
>
> Anyone have any ideas?  I have looked at the articles on php.net and
didn't
> see anything that I thought would help.
>
> Thanks,
> Steve

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to