From owner-freebsd-ports@FreeBSD.ORG Tue Jun 28 18:10:26 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE6711065672; Tue, 28 Jun 2011 18:10:26 +0000 (UTC) (envelope-from flo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BB1A58FC13; Tue, 28 Jun 2011 18:10:26 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5SIAOI3028703; Tue, 28 Jun 2011 18:10:24 GMT (envelope-from flo@FreeBSD.org) Message-ID: <4E0A1910.7020104@FreeBSD.org> Date: Tue, 28 Jun 2011 20:10:24 +0200 From: Florian Smeets User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110625 Thunderbird/5.0b2pre MIME-Version: 1.0 To: ohauer@FreeBSD.org References: <4E0A1437.3070703@FreeBSD.org> In-Reply-To: <4E0A1437.3070703@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Luiz Gustavo S. Costa" , ale@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: php5-5.3.6_1 with Segmentation fault (amd64) 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: Tue, 28 Jun 2011 18:10:26 -0000 On 28.06.11 19:49, Olli Hauer wrote: > On 2011-06-28 18:53, Luiz Gustavo S. Costa wrote: >> Hey list ! >> >> exist some trouble with php and amd64 ? (last php from ports) >> >> >> [root@gringo] ~# pkg_info | grep php5-5 >> php5-5.3.6_1 PHP Scripting Language >> [root@gringo] ~# php -v >> Segmentation fault >> [root@gringo] ~# php-fpm -h >> Segmentation fault >> [root@gringo] ~# which php-fpm >> /usr/local/sbin/php-fpm >> [root@gringo] ~# file /usr/local/sbin/php-fpm >> /usr/local/sbin/php-fpm: ELF 64-bit LSB executable, x86-64, version 1 >> (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.2, not >> stripped >> [root@gringo] ~# uname -a >> FreeBSD gringo.mundounix.com.br 8.2-RELEASE FreeBSD 8.2-RELEASE #0: >> Thu Feb 17 02:41:51 UTC 2011 >> root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >> > > Please try this script > http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh > Does anybody know any details about why it starts dumping cores when the order is wrong? I've been running into this for years, first with apache and mod_php later with php-fpm. It would be really great if we could get this fixed. I know the script and it fixes the problem most of the time, but that's IMHO not a real solution. Cheers, Florian