From owner-freebsd-ports@FreeBSD.ORG Sat May 7 19:20:37 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0FDC16A4DC for ; Sat, 7 May 2005 19:20:37 +0000 (GMT) Received: from lakermmtao05.cox.net (lakermmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6865643DAD for ; Sat, 7 May 2005 19:20:34 +0000 (GMT) (envelope-from abcjr@abcjr.net) Received: from border.abcjr.com ([68.102.33.105]) by lakermmtao05.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050507192033.NHXP13442.lakermmtao05.cox.net@border.abcjr.com> for ; Sat, 7 May 2005 15:20:33 -0400 Received: from border.abcjr.com (localhost [127.0.0.1]) by border.abcjr.com (8.13.3/8.13.3) with ESMTP id j47JKJ9n026895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 7 May 2005 14:20:20 -0500 (CDT) (envelope-from abcjr@border.abcjr.com) Received: (from abcjr@localhost) by border.abcjr.com (8.13.3/8.13.3/Submit) id j47JKH7G026894 for freebsd-ports@freebsd.org; Sat, 7 May 2005 14:20:17 -0500 (CDT) (envelope-from abcjr) Date: Sat, 7 May 2005 14:20:16 -0500 From: "Arnold Cavazos Jr." To: freebsd-ports@freebsd.org Message-ID: <20050507192016.GA78038@abcjr.net> References: <4275896B.40805@rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4275896B.40805@rpi.edu> User-Agent: Mutt/1.5.9i X-Virus-Scanned: ClamAV devel-20050428/871/Thu May 5 08:50:45 2005 on abcjr.abcjr.net X-Virus-Status: Clean X-Spam-Status: No, score=0.2 required=5.0 tests=ALL_TRUSTED,J_CHICKENPOX_42, J_CHICKENPOX_43,J_CHICKENPOX_52,J_CHICKENPOX_54,J_CHICKENPOX_62 autolearn=no version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on abcjr.abcjr.net Subject: Re: Apache dumping core since the php changes due to recode.so ?(reply) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 19:20:37 -0000 I don't know about PHP5, but under PHP4 recode.so _must_ be loaded before mysql.so and imap.so in /usr/local/etc/php/extensions.ini or apache will dump core. YMMV -- Arnold Cavazos, Jr. abcjr at abcjr . net On Sun, May 01, 2005 at 09:59:07PM -0400, Bryant Eadon wrote: > Yes, I am seeing the same thing -- I am stracing it and find that after my > install of PHP5 on x86, something tanks. > > I have upgraded (make deinstall of mod_php4 , make install of mod_php5 ) > but the system is still broken. > > Checking the httpd.core with GDB wasn't very helpful. I installed strace > from ports and checked the output as the process ran with : sudo strace > httpd -X --- I kept getting segfaults .. So I safely dropped the > output to file: sudo strace -o file.out httpd -X > > Checking the strace output and what was going on I saw there was a problem > with recode.so a module compiled in with PHP5. With some google searching > I came up with this post, which, when I renamed the file it indeed allowed > me to fix the problem, but I wanted to know what was really happening. > > So, with a bit more help on EFnet #php I was able to determine that > recode.so doesn't agree with a couple different files, here is a website > -- check the Note at the bottom for some in depth details! > > http://us3.php.net/manual/en/ref.recode.php > > > To summarize it: > 1. Don't include recode.so unless you really need it because it conflicts > with various other .so files. > > 2. Fixing how your php.ini load order might fix the problem -- load the > recode before others. > > My solution was to drop recode. Is this a bug ? I'm not familiar with bug > submission guidelines .. if anyone would like to forward this to the > developer (or if you're the developer) I'll happily provide more details. > > > > Later, > > -- > Bryant Eadon > Computer Systems Engineer > Rensselaer Polytechnic Institute > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Arnold Cavazos, Jr. abcjr at abcjr . net