Hi,
has anybody tried PHP5 head with the Sablotron , libxml2
combination? The configure would be Something like:
'./configure'
'--enable-xslt'
'--with-xslt-sablot=/usr/local'
...
-- Adam
--
Adam Dickmeiss mailto:adam@indexdata.dk http://www.indexdata.dk
Index Data T: +45 33410100 Mob.: 212 212 66
OK,
I take it that none have testet it. I for one cannot get it to
work reliably. I'm using Apache 1.3.27 (compiled from source),
Sablotron 0.98 (compiled from source), libxml2.4.19 (Debian 3.0 package),
Expat 1.95.2 (Debian 3.0 package).
On Apache startup - when - PHP is loaded the process receives a
SEGV in malloc.
It is quite hard to trace this one down.
valgrind bin/httpd -X
shows nothing and actually works!
I believe the error is due to the expat compat module conflicting
with Sablotron's "own" expat. Sablotron is linked with system
wide Expat. And PHP's new Expat compat module defines the same
symbols. That, I think, results in bad behaviour.
The fix is easy: ensure that Expat compat does not introduce
the same symbols as Real expat.
The attached patch does that.
-- Adam
Hi,
has anybody tried PHP5 head with the Sablotron , libxml2
combination? The configure would be Something like:
'./configure'
'--enable-xslt'
'--with-xslt-sablot=/usr/local'
...-- Adam
--
Adam Dickmeiss mailto:adam@indexdata.dk http://www.indexdata.dk
Index Data T: +45 33410100 Mob.: 212 212 66