CentOS 6.2, phpMyAdmin, Apache 2.2 - Segmentation fault (11)

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.

Milosz Galazka's Picture

About Milosz Galazka

Milosz is a system administrator working for a successful Polish company and a long time supporter of Free Software Foundation and Debian operating system.

Gdansk, Poland https://sleeplessbeastie.eu