From owner-freebsd-ports@FreeBSD.ORG Fri Jun 30 02:50:17 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 AC1E816A508 for ; Fri, 30 Jun 2006 02:50:17 +0000 (UTC) (envelope-from szlists@szarka.org) Received: from hustle.szarka.net (hustle.szarka.net [204.89.131.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9808B44771 for ; Fri, 30 Jun 2006 02:30:22 +0000 (GMT) (envelope-from szlists@szarka.org) Received: from BUCKY.szarka.org (ip-65-75-16-177.ct.dsl.ntplx.com [65.75.16.177]) (authenticated bits=0) by hustle.szarka.net (8.13.6/8.13.6) with ESMTP id k5U2UItX091888 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Thu, 29 Jun 2006 22:30:22 -0400 (EDT) (envelope-from szlists@szarka.org) Message-Id: <7.0.1.0.0.20060629222522.053e2518@szarka.org> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Thu, 29 Jun 2006 22:30:25 -0400 To: freebsd-ports@freebsd.org From: Rob Szarka In-Reply-To: <44A4839F.9060607@rogers.com> References: <7.0.1.0.0.20060629211947.04d85b80@szarka.org> <44A4839F.9060607@rogers.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: PHP 5.1.4 w/ mysqli dumps core - SOLVED? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 02:50:17 -0000 At 09:51 PM 6/29/2006, Mike Jakubik wrote: >>The CLI version of PHP dumps core when run with the mysqli >>extension enabled. Similarly, Apache crashes when being restarted >>with PHP and the mysqli extension (not loading the PHP modile or >>not enabling mysqli fixes the problem). Haven't tested the CGI version. >> >>Here are the relevant versions in my installation: >> >>PHP 5.1.4 >>php5-mysqli-5.1.4 >>FreeBSD 6.0-RELEASE #0 >>Apache 2.2 >> >>Is this a known issue? (And, if so, is there a known fix?) I'm >>pretty new to using the ports collection (vs. doing the tarball >>thing), so I'm not sure if there's some place in particular I >>should be looking for and/or making a bug report on this issue, >>outside of the more general PHP bug database. > >And what version of MySQL do you have installed? I have the exact as >above, plus FreeBSD 6.1 and MySQL 5.0.22 running just fine on >several production machines. MySQL is 5.1.11 I did just "solve" the problem. Having read http://www.bsdforums.org/forums/archive/index.php/t-28681.html , which notes a similar problem with the php5-mysql (not mysqli) extension, I did a "make && make deinstall && make reinstall" on first net/php5-sockets and then /databases/php5-mysqli. PHP no longer dumps core. I have no insight as to what this fixed--totally cargo cult configuration on my part. So, maybe this is still an issue with the port that demands attention. (If it was something I did, it would at least be good to know what, so I don't do it again... ;)