From owner-freebsd-ports@FreeBSD.ORG Mon Sep 11 14:11:18 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 BAA9F16A407 for ; Mon, 11 Sep 2006 14:11:18 +0000 (UTC) (envelope-from eculp@bafirst.com) Received: from bafirst.com (72-12-2-214.wan.networktel.net [72.12.2.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A26143D45 for ; Mon, 11 Sep 2006 14:11:17 +0000 (GMT) (envelope-from eculp@bafirst.com) Received: from localhost (localhost [127.0.0.1]) (uid 80) by bafirst.com with local; Mon, 11 Sep 2006 09:11:17 -0500 id 00095803.45056E85.00016D4A Received: from dsl-189-129-2-180.prod-infinitum.com.mx (dsl-189-129-2-180.prod-infinitum.com.mx [189.129.2.180]) by mail.bafirst.com (Horde MIME library) with HTTP; Mon, 11 Sep 2006 09:11:17 -0500 Message-ID: <20060911091117.jowxze9x8g04so84@mail.bafirst.com> Date: Mon, 11 Sep 2006 09:11:17 -0500 From: eculp@bafirst.com To: freebsd-ports@freebsd.org References: <45045AF3.90201@sympatico.ca> <4504C87C.4050005@restek.wwu.edu> In-Reply-To: <4504C87C.4050005@restek.wwu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.1-cvs Subject: Re: PHP 5.1.6 Command Line Arg Gives Seg Fault 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: Mon, 11 Sep 2006 14:11:18 -0000 Quoting Kian Mohageri : > Ron Tarrant wrote: >> Hi all, >> >> I updated my ports tree on Sept. 7 and then built /usr/ports/lang/php5 >> (version: 5.1.6). Now the command: >> >> php --version >> >> results in a segmentation fault. I wouldn't mind, but I'm working on >> building php-gtk2 from source and the configure script uses the above >> command to confirm installation of the CLI version of PHP. Rather than >> the test yielding: > > Do you happen to use the php5-ldap extension? If so, you might try > upgrading your openldap port, because I experienced segfaulting with the > php command line (5.1.6) using openldap 2.3.25. I upgraded to > openldap-client-2.3.27 and it fixed the problem. > > You can also try using gdb to get an idea of where/when it is seg faulting. > > Hope that helps. > > -- > Kian Mohageri > WWU ResTek > 206.779.0707 I was seeing something similar and ended up compiling php5 and all the php5-estensions without IP6 and it solved it for me. I used portmaster that forced me to check all the make config options in all the php5 and php5-extensions. I didn't actually try php --version when I had the problem but was sigfaulting just executing the pear command to see the help screen. This was on my upgrade from a previous php upgrade from 5.1.4 maybe. It was not long ago. good luck, ed