Re: libxml2 , sablotron combo tested?
| From: | Adam Dickmeiss | Date: | Mon, 26 May 2003 23:13:08 +0000 |
| Subject: | Re: libxml2 , sablotron combo tested? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2024@lists.php.net to get a copy of this message | ||
On Tue, May 27, 2003 at 12:53:28AM +0200, Melvyn Sopacua wrote:
> On Mon, 26 May 2003, Adam Dickmeiss wrote:
>
> AD>>> On Apache startup - when - PHP is loaded the process receives a
> AD>>> SEGV in malloc.
> AD>>>
>
> [ ... ]
>
> AD>>> The fix is easy: ensure that Expat compat does not introduce
> AD>>> the same symbols as Real expat.
>
> What happend to --with-expat-dir? That is mandatory with Sablotron. So
> is --with-iconv-dir, when applicable.
--with-libexpat-dir=DIR is for the xml parser.
--with-expat=DIR is for Sabltron.
--with-expat=DIR is for XMLRPC-EPI.
So you are saying that if Sablotron is enabled I cannot
use the _default_ xml parser - which in PHP5 uses libxml2?
Doesn't seem right to me. My patch allows ext/xml module to
use either.
iconv is a different story. All modules uses the _same_ / or
at least compatible iconv .
-- Adam
> The following works for me, with an apache, that has mod_perl and
> mod_gzip in it as well:
> #!/bin/sh
>
> MAKE=gmake \
> CC=/usr/local/bin/gcc \
> CPP=cpp \
> CFLAGS='-O0' \
> ./configure \
> --prefix=/php5 \
> --enable-debug \
> --disable-cgi \
> --enable-magic-quotes \
> --disable-short-tags \
> --enable-bcmath \
> --enable-exif \
> --enable-mbstring \
> --enable-xslt \
> --enable-memory-limit \
> --with-apache=../../_src/apache_1.3.27 \
> --with-dom=/weblib/libxml \
> --with-iconv=/weblib/iconv \
> --with-mysql=/weblib/mysql \
> --with-xslt-sablot=/weblib/sablot \
> --with-expat-dir=/weblib/expat \
> --with-libxml-dir=/weblib/libxml \
> --with-iconv-dir=/weblib/iconv \
> --with-sablot-js=/weblib/js
>
> A quick test (ext/xslt/tests/xslt_backend_info.phpt) loaded into apache,
> shows I have iconv and js support.
>
> So - AFAIK no patch needed.
>
> --
> Melvyn
>
>
> --
> 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