I think this has already been fixed, at least to some extent. I think one 
of the Sablotron guys posted about this, or somebody forwarded a solution 
to the problem at any rate. 

I was having this problem all the time since I started using XSLT with 
Sablotron, but after applying the fix, I haven't had a single segfault.

Basically, Apache's expat-lite is butting heads with PHP's expat, or 
something to that effect. To fix things up, before compiling Apache, rename 
$APACHE_HOME/src/lib/expat-lite so it isn't compiled in with Apache. If you 
get errors near the end of a 'make install' because it can't install 
headers from expat-lite, change it back to its original name just so it can 
install the headers, but don't let it actually compile in. 

It worked for me, anyways.

J


[EMAIL PROTECTED] wrote:

> From:             [EMAIL PROTECTED]
> Operating system: Linux RH 7.2
> PHP version:      4.1.0RC1
> PHP Bug Type:     XSLT related
> Bug description:  Segmentation fault with xslt extention
> 
> php-4.1.0-RC1 on Linux RH 7.2, Apache-1.3.20
> 
> './configure' '--with-config-file-path=/etc' '--with-xml'
> '--with-mysql=/usr' '--with-apxs=/usr/sbin/apxs' '--with-ttf=/usr'
> '--with-gd=/usr/' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/lib'
> '--with-tiff-dir=/usr/lib' '--with-zlib' '--enable-memory-limit'
> '--enable-track-vars' '--disable-debug' '--enable-xslt'
> '--with-xslt-sablot' '--without-pear' '--with-t1lib=/usr'
> '--with-pdflib=/usr/local/lib'
> '--enable-bcmath'
> 
> when I access php-pages that use xslt functions to transform xml data I
> often get errors in apache like " [notice] child pid 27300 exit signal
> Segmentation fault (11)"
> 
> 
> 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to