Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2010 13:44:44 -0400
From:      Joe Auty <joe@netmusician.org>
To:        glarkin@FreeBSD.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Questions about port revision numbers, portsnap, csup
Message-ID:  <4BCC968C.4000003@netmusician.org>
In-Reply-To: <4BCC9364.2000404@FreeBSD.org>
References:  <4BCC8E8C.80406@netmusician.org> <4BCC9364.2000404@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Larkin wrote:
>
> Does pecl-APC not compile, or is it functionally broken after compiling
> succesfully?
It compiles, but once loaded it causes either Apache child processes to
segfault or abort traps depending on where the extension is listed in my
extensions.ini file. Apache itself is running fine, I don't have these
problems on non-PHP pages. Commenting out the apc.so in extensions.ini
makes Apache work again. I haven't done an extensive job of looking for
PHP extension conflicts just yet, but I've slowly been testing my PHP
extensions one by one on a test machine. I got as far as this:

> extension=session.so
> extension=mysql.so
> extension=json.so
> extension=curl.so
> extension=openssl.so
> ;extension=apc.so

apc.so is commented out because this was the point where I realized that
it was the culprit after this upgrade. So, I'd imagine that APC has some
sort of problem with PHP 5.3, or possibly one of these extensions?

>
> > 2) Is there a way to look at the commit history of the ports I have
> > installed in /usr/ports so that I can verify whether or not I have the
> > revision with this particular fix? Thus far I've been relying on
> > freshports.org and trusting that doing a portsnap will always fetch the
> > latest stuff visible on freshports.org, but now I'm not so sure...
>
> Is /usr/ports/www/pecl-APC/files/patch-php_apc.c present on your
> machine?  If so, then you have the latest commit.
>
Yeah, I have that file... I didn't know that the patch fixed compiling
problems, that was never my problem.

Perhaps PHP 5.3 needs different APC related php.ini options or
something? I'm generally pretty lazy about doing a diff between the
stock config files and my own...

I've been trying to no avail to get a good backtrace of my problem,
would that be useful to anybody? Should I keep at this?


Thanks for your help Greg!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BCC968C.4000003>