Re: Bundling libxml2 default?
| From: | Jani Taskinen | Date: | Fri, 16 May 2003 20:28:50 +0000 |
| Subject: | Re: Bundling libxml2 default? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1616@lists.php.net to get a copy of this message | ||
On Fri, 16 May 2003, Adam Dickmeiss wrote:
>On Fri, May 16, 2003 at 11:20:53AM -0400, Sterling Hughes wrote:
>> On Fri, 2003-05-16 at 12:41, Adam Dickmeiss wrote:
>> > 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.
>> >
>>
>> the size of libphp5, yes. The imprint probably didn't.
>I'm not an expert in this issue. Again, the real problem for
>me is that YAZ uses /usr/lib/libxml2.so and if PHP has
>its own version, two copies of a relatively big library
>is loaded twice (bundled and system wide).
Yet another reason NOT to bundle libxml..
--Jani