Lucian, thank you very much for the insight you provided.

I am still a littke confused.  It looked to me like in php 4.x you needed
the SablotronT library.  But from what I can see with v5 beta4 you don't
need it.  At least the docs do not state it from what I saw.  Maybe I am
wrong.  I just wanted to try and used standard php libraries instead of a
3rd party.

Are the instructions that you provided for v4 or v5 of php?  I configured
php v5 b4 using the following line:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-xsl=/usr/lib/ --
with-libxml-dir=/usr/lib/

I am using libxml2 2.6.6 and libxslt 1.1.3 both of which reside in the
location mentioned in the configure line above.

Thanks again for you response I really appreciate it.  I will give the DOM
XSLT a try this weekend.

Steve

"Lucian Cozma" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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