Google Analytics

Monday, August 03, 2009

Apache segfaults after enabling the Zend Framework on Ubuntu Jaunty

After installing the Zend framework on an Ubuntu Jaunty server (PHP 5.2.6-3ubuntu4.1 Suhosin-Patch

# aptitude install zend-framework

I uncommented the line with the include path to make it usable:

# vim /etc/php5/apache2/conf.d/zend-framework.ini

include_path=${include_path} ":/usr/share/php/libzend-framework-php"

Then restarted Apache. Unfortunately it crashed straight away:

Aug 3 11:42:44 the-lake kernel: apache2[17487]: segfault at 0000000000000008 rip 00002b3c755d5070 rsp 00007fff3d94c1c8 error 4

Some searching revealed it was this bug.

Setting an initial include_path in /etc/php5/apache2/php.ini worked around the problem.