CentOS 6.2, phpMyAdmin, Apache 2.2 – Segmentation fault

Today I installed phpMyAdmin on fresh CentOS 6.2 (with EPEL repository) and it was not working. Looking at Apache logs revealed only notice:

[notice] child pid 41292 exit signal Segmentation fault (11)

My Apache and PHP versions:

$ httpd -v
Server version: Apache/2.2.15 (Unix)
Server built:   Dec  8 2011 18:07:26
$ php -v
PHP 5.3.3 (cli) (built: Jan 11 2012 19:30:40)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

The problem was with eAccelerator PHP module.

There are two simple solutions. First requires to edit /etc/php.d/eaccelerator.ini file and comment out one line:

extension="eaccelerator.so"

Second is to remove eAccelerator PHP module:

# rpm -e php-eaccelerator

Don’t forget to restart Apache.

Leave a comment