Re: Bundling libxml2 default?
| From: | Adam Dickmeiss | Date: | Fri, 16 May 2003 16:41:12 +0000 |
| Subject: | Re: Bundling libxml2 default? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1580@lists.php.net to get a copy of this message | ||
On Fri, May 16, 2003 at 05:16:09PM +0200, Adam Dickmeiss wrote:
> On Sat, May 17, 2003 at 12:04:31AM +0900, Moriyoshi Koizumi wrote:
> > Adam Dickmeiss <adam@indexdata.dk> wrote:
> >
> > > Default or force:) Is it possible to use system wide libxml2 for
> > > XML parsing in PHP?
> > > What options should I use?
> >
> > --with-bundle-libxml=[PATH] ?
> Thanks. So, must use -with-bundled when I don't want that:)
OK with
'--with-apxs=/home/adam/proj/apache/bin/apxs' \
'--with-bundle-libxml=/usr' \
'--without-bundle-expat' \
'--with-zlib-dir=/usr' \
things worked and the libphp5.so went from 7.0 MB to 3.6 MB.
zlib was needed when I didn't bundle. Why?
Now, the first thing I notice is that
xml_parser_create(encoding); using libxml
works like
xml_parser_create(""); using Expat
as far as input encoding is concerned. So from that
perspective BC is breaked with libxml.
-- Adam
> -- Adam
>
> >
> > Moriyoshi
> >
> >
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Adam Dickmeiss mailto:adam@indexdata.dk
> http://www.indexdata.dk
> Index Data T: +45 33410100 Mob.: 212 212 66
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Dickmeiss mailto:adam@indexdata.dk http://www.indexdata.dk
Index Data T: +45 33410100 Mob.: 212 212 66