Hi,

I am writing my first ZF based app and wanted to use the Zend_Db PDO classes. My problem is that apache is exiting with signal 11 when Zend_Db_Adapter_Pdo_Abstract::prepare() tries to return the result of $this->_connection->prepare():

Dec 29 16:37:33 localhost kernel: pid 35047 (httpd), uid 65534: exited on signal 11

If I edit Zend_Db_Adapter_Pdo_Abstract::prepare() (see below) so that it is not trying to return the return value of $this->_connection->prepare() apache is fine but this of course breaks the script.

public function prepare($sql)
{
    $this->_connect();
    $this->_connection->prepare($sql);
    return;
}

I tried assigning the return value of $this->_connection->prepare() to a variable before returning it but that also killed apache. Seems I can't try to assign the return value in any way.

Any ideas what the problem is??

I am running freeBSD 5.4-STABLE with apache2.2.3 and php5.2 and latest ZF from svn.

Cheers,

Brad

--
Brad Kowalczyk
Web Developer
www.ibiscode.com
02 63796642

Reply via email to