Apache Segmentation Fault from CakePHP 1.2 Caused by Zend Optimizer

I recently set up CakePHP 1.2 pre-beta here on my server. The fresh install was causing a Segmentation fault on load; The error_log looked like this: [Mon Nov 5 11:35:01 2007] [notice] child pid 19960 exit signal Segmentation fault (11)

The cause turned out to be the Zend Optimizer not agreeing with PHP 5. To fix the segfault, I went into my php.ini and commented out the Zend Optimizer directives.

This entry was posted in Asides. Bookmark the permalink.

3 Responses to Apache Segmentation Fault from CakePHP 1.2 Caused by Zend Optimizer

  1. Luis Weir says:

    Hi, which directions should one change on php.ini?

    I am actually facing the same problem. I am running PHP4 with cake 1.2. The issue occurs just after controller takes place.

    this is the error message from the log!

    child pid 36700 exit signal Segmentation fault (11)

    Many thanks for your help

  2. kelvin says:

    Look for stuff that enables the zend optimizer:

    [Zend]
    ;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.2
    ;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.2
    ;zend_optimizer.version=3.2.2
    ;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    ;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

    I can’t remember if it was these lines specifically, but I think it was.

  3. Pingback: CakePHP headaches | Room 34 Creative Services » Scott Anderson: Minneapolis Web Designer/Developer and Musician

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>