Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29342 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2065 invoked by uid 1010); 8 May 2007 17:35:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2050 invoked from network); 8 May 2007 17:35:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2007 17:35:50 -0000 Authentication-Results: pb1.pair.com header.from=wrowe@rowe-clan.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=wrowe@rowe-clan.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain rowe-clan.net from 64.202.165.17 cause and error) X-PHP-List-Original-Sender: wrowe@rowe-clan.net X-Host-Fingerprint: 64.202.165.17 smtpout09-04.prod.mesa1.secureserver.net Linux 2.4/2.6 Received: from [64.202.165.17] ([64.202.165.17:51362] helo=smtpout09.prod.mesa1.secureserver.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/4C-01189-4F4B0464 for ; Tue, 08 May 2007 13:35:50 -0400 Received: (qmail 7947 invoked from network); 8 May 2007 17:35:46 -0000 Received: from unknown (24.15.193.17) by smtpout09-04.prod.mesa1.secureserver.net (64.202.165.17) with ESMTP; 08 May 2007 17:35:46 -0000 Message-ID: <4640B4F0.1090200@rowe-clan.net> Date: Tue, 08 May 2007 12:35:44 -0500 User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Antony Dovgal CC: Oliver Block , internals@lists.php.net References: <200705080336.11411.lists@block-online.eu> <200705081327.46790.lists@block-online.eu> <464062D6.3070507@zend.com> <200705081402.13711.lists@block-online.eu> <46406915.8040201@zend.com> In-Reply-To: <46406915.8040201@zend.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] apache2handler/SIGSEGV with apache2 (prefork) From: wrowe@rowe-clan.net ("William A. Rowe, Jr.") Antony Dovgal wrote: > On 05/08/2007 04:02 PM, Oliver Block wrote: >> Am Dienstag, 8. Mai 2007 13:45 schrieben Sie: >>> What was your configure line? >> >> ./configure --with-apxs2=/usr/sbin/apxs2 --prefix=/usr/local/php5 >> --enable-debug --enable-maintainer-zts --with-mysql --with-imap >> --with-imap-ssl >> >> There was a php4 rpm which was installed by the SuSE setup tool (YaST). >> >> After removing it, the server started without problems. So this >> segmentation fault seems to occur, when there are both versions, php4 >> and php5, installed. > > Ah, so you're compiling a threadsafe PHP to use with a non-threadsafe > Apache and loading both PHP4 and PHP5 in the same time. > This looks like a total misconfiguration. What non-threadsafe Apache? There are few such Apache 2 beasts. If apr was installed separately it's almost always going to pick up threads by default, and since these are YaST packages I'm betting dollars to donuts that apr comes from it's own rpm. Apache2 itself would therefore be threadsafe compiled against that apr. I'm gambling that PHP4 was non-zts and PHP5 was zts, resulting in mass confusion.