FreeBSD 6.1-R-p10 and PHP 5.2.0

Andy Fawcett andy at athame.co.uk
Fri Nov 17 03:22:33 PST 2006


On Friday 17 November 2006 12:48, Ivan Voras wrote:
> Josh Paetzel wrote:
> > Freshly installed FreeBSD 6.1-R-p10 box
> >
> > Fresh ports tree from today.  php 5.2.0 installed from ports with the
> > following extensions:
> >
> > # php -v
> > PHP 5.2.0 (cli) (built: Nov 16 2006 14:47:28) (DEBUG)
> > Copyright (c) 1997-2006 The PHP Group
> > Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
> > Segmentation fault (core dumped)
>
> I've found php to be very sensitive to trivial issues like the order of
> loading extensions in extensions.ini, which is just one of the reasons
> for its suckiness. I don't see your particular error here (both on i386
> and amd64), but if is the ordering of extensions maybe you could post
> your extensions.ini.

This is actually a known problem, documented on the PHP site.

My nasty solution to deal with this is to have a "good" copy of extensions.ini 
saved, and I just copy it over after each update. I only need to modify it 
after adding or removing extensions.

A.

-- 
Andy Fawcett                                     | andy at athame.co.uk
                                                 | tap at kde.org
"In an open world without walls and fences,      | tap at lspace.org
  we wouldn't need Windows and Gates."  -- anon  | tap at fruitsalad.org


More information about the freebsd-ports mailing list