Apache 2.2 and php 5.4.5 failing on freebsd 8.3

Jerry jerry at seibercom.net
Mon Aug 20 20:04:30 UTC 2012

On 20 Aug 2012 16:46:13 -0000
John Levine articulated:

> I have a fully patche amd64 freebsd 8.3 server with apache 2.2 and
> PHP 5.4.5.
> In the past day, php scripts have started failing with a variety of
> random errors, they hang, errors claiming that builtins like
> require_once() are not found, and other stuff.  I don't see any
> pattern.  I also can't figure out what's changed. I update the ports
> fairly often, but none of the recent updates were for apache or PHP.
> I've done all the usual voodoo repair: I have rebuilt apache, php, and
> all the php modules from source, and rebooted, and it didn't help.
> Does this sound familiar?  Any suggestions beyond what I've already
> done?

What is the output of "php --version"?

I had a similar problem a little over a year ago. I finally had to do a
"pkg_delete" of every "php" port on my system. I then used
"portmanager", although you could use "portupgrade" as well to do a
fresh install of "php". I rebooted and every thing worked fine. For
some unknown reason, attempting to do a deinstall and re-install just
failed to alleviate the problem.

Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.

More information about the freebsd-questions mailing list