Re: libxml2 , sablotron combo tested?
| From: | Melvyn Sopacua | Date: | Mon, 26 May 2003 22:53:28 +0000 |
| Subject: | Re: libxml2 , sablotron combo tested? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2023@lists.php.net to get a copy of this message | ||
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.
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