Index: ea_restore.c --- ea_restore.c.orig 2006-10-11 14:45:52 +0200 +++ ea_restore.c 2007-02-11 11:50:15 +0100 @@ -715,6 +715,9 @@ to->doc_comment = NULL; #endif #endif +#ifdef ZEND_ENGINE_2_2 + to->ce = EAG(class_entry); +#endif return to; } #endif Index: eaccelerator.ini --- eaccelerator.ini.orig 2006-10-11 14:45:52 +0200 +++ eaccelerator.ini 2007-02-11 11:49:49 +0100 @@ -1,23 +1,6 @@ -[eaccelerator] -;;;;;;;;;;;;;;;;;;; -; About this file ; -;;;;;;;;;;;;;;;;;;; -; -; eAccelerator is compatible with Zend Optimizer's loader. Zend Optimizer -; must be installed after eAccelerator in php.ini. If you don't use scripts -; encoded with Zend Encoder then we do not recommend you install Zend Optimizer -; with eAccelerator. - - -; You must uncomment one (and only one) line from the following to load -; eAccelerator extension. -;extension="eaccelerator.so" -zend_extension="/usr/lib/php4/eaccelerator.so" -;zend_extension_ts="/usr/lib/php4/eaccelerator.so" -;extension="eaccelerator.dll" -;zend_extension_ts="c:\php4\eaccelerator.dll" -;zend_extension="c:\php4\eaccelerator.dll" +; Load the extension module +zend_extension="eaccelerator.so" ; The amount of shared memory (in megabytes) that eAccelerator will use. ; "0" means OS default. Default value is "0".