Skip to content

Apache2 troubleshooting – PHP + eAccelerator – Ubuntu Server

You start apache after an update and your sites do not work, even though apache states it has restarted successfully.

To determine the nature of this problem, we want to start by looking at the apache2 error log

On Ubuntu server do the following:

tail -f /var/log/apache2/error_log

If you notice this error:

PHP Fatal error:  Unable to start eAccelerator module in Unknown on line
PHP Warning:  [eAccelerator] This build of "eAccelerator" was compiled foersion 5.2.6-2ubuntu4.2. Rebuild it for your PHP version (5.2.6-2ubuntu4.ownload precompiled binaries.\n in Unknown on line 0

You need to reconfigure eAccelerator or Apache will not run, even though starting apache will not give you a failure notice.

Visit: to download the latest version of eAccelerator.

cd /tmp
tar xvfj eaccelerator-
cd eaccelerator-
make install

Restart apache

/etc/init.d/apache2 restart

All should once again be right with the world.

Posted in Linux.

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Troubleshooter said

    Thank you for sharing this information!
    Happy Holidays!

Some HTML is OK


(required, but never shared)

or, reply to this post via trackback.