Re: Bug #13896: Segmentation fault with xslt extention
| From: | J Smith | Date: | Thu, 01 Nov 2001 16:00:51 +0000 |
| Subject: | Re: Bug #13896: Segmentation fault with xslt extention | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69496@lists.php.net to get a copy of this message | ||
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
jens@ja-web.de wrote:
> From: jens@ja-web.de
> 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)"
>
>
>