Here's my config:

'./configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug' '--enable-pic' '--enable-shared'
'--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs'
'--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext'
'--with-gd' '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' '--with-gdbm'
'--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-track-vars' '--enable-wddx' '--with-mysql'
'--without-oracle' '--without-oci8' '--with-xml' '--with-pdflib'
'--with-pgsql=/usr/local/pgsql/' '--with-dom' '--with-dom-xslt'
'--with-dom-exslt' '--enable-mbstring' '--with-imap' '--with-kerberos'
'--with-imap-ssl' '--enable-shmop' '--enable-sysvmsg' '--enable-sysvsem'
'--enable-sysvshm' '--with-primebase' '--with-curl'

I think that what you need for domxml are:
'--with-xml' '--with-dom' '--with-dom-xslt' '--with-dom-exslt'
If you don't need  DOM EXSLT support, ignore the '--with-dom-exslt'.

It should be the same for 4 and 5 (the config is for my php 4.3.4, but
should work fine on 5).
Be carefull though, dom in php5 has major API changes from php4 (but it's
gonna be much better, as Christian & all the guys from domxml are really
doing their best to bring this one home for all of us).

Also, try to use the latest libs (both libxslt and libxml).

Regards,
Lucian

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