I am in the process of moving my Drupal to a new host. On the new host I am getting the error message:

EACCELERATOR: PHP crashed on opline 32 of debug_backtrace() at /homepath/includes/database.mysql.inc:105

This is the offending code:

  if (variable_get('dev_query', 0)) {
    $bt = debug_backtrace();                         //this is line 105 that crashes php
    $query = $bt[2]['function'] . "\n" . $query;
    list($usec, $sec) = explode(' ', microtime());
    $stop = (float)$usec + (float)$sec;
    $diff = $stop - $timer;
    $queries[] = array($query, $diff);
  }

I turned off eaccelerator (disabled in php.ini and restarted Apache) but I still can't display anything (I only get white pages), so I think it may not be related to eaccelerator.

I was wondering what I can do about this error. Should I downgrade to php4 ?

    Write a Reply...