Date: Tue, 28 Jun 2011 14:36:42 -0400 From: Attos <attos.janus@gmail.com> To: ohauer@freebsd.org Cc: "Luiz Gustavo S. Costa" <luizgustavo@luizgustavo.pro.br>, Florian Smeets <flo@freebsd.org>, freebsd-ports@freebsd.org, ale@freebsd.org Subject: Re: php5-5.3.6_1 with Segmentation fault (amd64) Message-ID: <BANLkTintPM3mO6PLKB%2BiiaqUWsgo=2VKXw@mail.gmail.com> In-Reply-To: <4E0A1D6E.1040903@FreeBSD.org> References: <BANLkTinJDN71V7XS5poiSMsd9ACvweH%2Bug@mail.gmail.com> <4E0A1437.3070703@FreeBSD.org> <4E0A1910.7020104@FreeBSD.org> <4E0A1D6E.1040903@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Not an empty php.ini, but an empty /usr/local/etc/php/extensions.ini That's how I found about SQLite. Commented out all the extensions and the un-commented one-by-one. On Tue, Jun 28, 2011 at 2:29 PM, Olli Hauer <ohauer@freebsd.org> wrote: > On 2011-06-28 20:10, Florian Smeets wrote: > > 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. > > No not really, during my research I found notes about this issue for all > platforms > (BSD/Linux/Solaris ...) > > I guess in his case it's even a third party module, but we don't know since > the > php.ini was not provided. Maybe he can follow the last instruction in the > script > and fire up gdb. > > I suggest he tries what Attos suggest (without sqlite) or by starting with > an empty > php.ini and add module by module manually. > > > > > > 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 > > > _______________________________________________ > 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" > -- Attos Janus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTintPM3mO6PLKB%2BiiaqUWsgo=2VKXw>