From owner-freebsd-ports@FreeBSD.ORG Wed Sep 13 18:34:10 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 30B6316A412 for ; Wed, 13 Sep 2006 18:34:10 +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 709B843D6B for ; Wed, 13 Sep 2006 18:34:05 +0000 (GMT) (envelope-from eculp@bafirst.com) Received: from localhost (localhost [127.0.0.1]) (uid 80) by bafirst.com with local; Wed, 13 Sep 2006 13:34:04 -0500 id 00095805.45084F1C.000051B0 Received: from dsl-189-129-2-76.prod-infinitum.com.mx (dsl-189-129-2-76.prod-infinitum.com.mx [189.129.2.76]) by mail.bafirst.com (Horde MIME library) with HTTP; Wed, 13 Sep 2006 13:34:04 -0500 Message-ID: <20060913133404.h3ahfvwytcckows4@mail.bafirst.com> Date: Wed, 13 Sep 2006 13:34:04 -0500 From: eculp@bafirst.com To: freebsd-ports@freebsd.org References: <4507C944.1040006@sympatico.ca> In-Reply-To: <4507C944.1040006@sympatico.ca> 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: Wed, 13 Sep 2006 18:34:10 -0000 Quoting Ron Tarrant : > *eculp at bafirst.com wrote: > > *> Kian Mohageri wrote: > >> >/ 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. > > > Thanks for the input, guys. > > > My openldap-client version is 2.3.27 and I double-checked the options > for compiling and found that IP6 was not selected. I also found a > reference in one of the php mailing lists to segmentation faults > apparently caused by ImageMagick's magickwand. It was suggested that > removing the magickwand extension from the list would fix the > problem, but it didn't for me. > > The search for a solution continues. I first removed php5 php5-extensions all pear and pecl ports and then installed all starting with php5 without ip6. I no longer had a problem. I then ran make rmconfig and make config checking for ip6 and then reinstalling and testing. I was also forced to quit using Zend substituting eaccelerator after installing and testing each. Both of those have caused problems for me at different times in the past. I never had a problem with a clean php5 on a machine without any php, pear, etc. I had the problem on 5 machines with both amd and intel, current and releng_6 and fixed them all that way. Good luck. ed > > Again, thanks for the suggestions. > > -Ron T. > > -- > Ron Tarrant > Blog:PHP-Gtk2 > > _______________________________________________ > 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" >