6.3-STABLE Apache 2.0 uses high CPU when restarted....

Forrest Aldrich forrie at forrie.com
Fri Feb 22 03:26:19 UTC 2008

Mel wrote:

>Your extensions.ini has duplicate and non-existing modules. Start here:
>mv /usr/local/etc/php/extensions.ini /usr/local/etc/php/extensions.ini.bkp
>sort -u /usr/local/etc/php/extensions.ini.bkp |while read MOD; do
>  if test -f /usr/local/lib/php/20060613/${MOD##extension=}; then
>     echo $MOD
>  fi
>done >/usr/local/etc/extensions.ini
>php -v

I've done this and still have a problem with PHP5 dumping core:

root at mail /usr/ports/lang/php5]# php -v

PHP 5.2.5 with Suhosin-Patch (cli) (built: Feb 21 2008 21:51:01)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
   with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by 
   with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project
Segmentation fault: 11 (core dumped)

I tried compiling this without eAccelerator, got the same problem.  I'm now trying it without
the Suhosin enhancements to see if that's the problem - sent a copy of this to the PHP5 port

Thanks again,


More information about the freebsd-questions mailing list