Date: Mon, 04 Apr 2011 20:42:47 +0200 From: Olli Hauer <ohauer@FreeBSD.org> To: Jeremy Chadwick <freebsd@jdc.parodius.com> Cc: apache@FreeBSD.org Subject: Re: php5-imap core dumped Message-ID: <4D9A1127.5010704@FreeBSD.org> In-Reply-To: <20110404165647.GA59645@icarus.home.lan> References: <3ba8dbabc703778d58bcae920ca36696.squirrel@www.abc.pl.ua> <4D9637C2.4080709@FreeBSD.org> <25eaebc346d5e568f288e04f98aa7871.squirrel@www.abc.pl.ua> <4D98B536.8020709@FreeBSD.org> <d82ca1e3ac7ec239c0182eb748aec50d.squirrel@www.abc.pl.ua> <20110404165647.GA59645@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-04-04 18:56, Jeremy Chadwick wrote: > On Mon, Apr 04, 2011 at 02:49:07PM +0300, bsd@abc.pl.ua wrote: >>> On 2011-04-02 06:00, bsd@abc.pl.ua wrote: >>>>> On 2011-04-01 21:59, bsd@abc.pl.ua wrote: >>>>>> Hello!!! [...] >>>>>> >>>>>> If I include extension=imap.so,have >>>>>> >>>>>> phphostitt# php -m >>>>>> Segmentation fault (core dumped) >>>>>> >>>>>> How to be here? >>>>>> >>>>> >>>>> Please provide additional the output of the commands >>>>> >>>>> # cat /usr/local/etc/php/extensions.ini >>>>> # httpd -V >>>>> # php -v >>>>> >>>>> If php -v fails, then set a comment with `;' in the extensions.ini >>>>> like this `;extension=imap.so' >>>>> >>>>> and try additional >>>>> # php -m >>>>> >>>>> [ ... ] >>> >> >> Run fixphpextorder.sh >> >> Now all works. >> >> php -m >> [PHP Modules] >> bcmath [...] > > php -m will always show the modules in sorted order. You can't rely on > this command to determine what order the extensions were loaded. You > have to look at extensions.ini for that. Yes, but with the previous order he was not able to fire the command without segfault. I had the same issue a view years ago and it was the order in php/extension.ini. With the informations I found on - http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround [1] - http://nerdstock.org/php_extensions [2] I hacked together an updated version of the script from [1] which includes the additional informations from [1] and [2] in hope it will solve the problem. Glad to know it worked in this case.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D9A1127.5010704>