[gentoo-user] eAccelerator/"Zend outdated"
Due to the recent GLSA, I updated PHP. :( Now that turck-mmcache is gone and replaced by eaccelerator, I thought that I'd give it a shot. No luck so far. Here's what I get in error_log: [Fri Jul 15 22:48:33 2005] [notice] caught SIGTERM, shutting down Failed loading /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: cannot open shared object file: No such file or directory eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. Failed loading /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: cannot open shared object file: No such file or directory eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. [Fri Jul 15 22:48:37 2005] [notice] Apache/1.3.33 (Unix) (Gentoo/Linux) PHP/4.3.11 mod_gzip/1.3.26.1a configured -- resuming normal operations php -v gives this: www conf # php -v PHP 4.4.0 (cli) (built: Jul 15 2005 22:33:58) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with eAccelerator v0.9.3, Copyright (c) 2004-2005 eAccelerator, by eAccelerator www conf # It compiles OK. I have "dev-php/eaccelerator-0.9.3-r1" installed (used ~x86 too) It just doesn't create a "mmcache.so" file. It appears that it creates "eaccelerator.so" instead. I just copied that file to mmcache.so and restarted Apache. Upon doing that, I get this error: [Fri Jul 15 22:58:03 2005] [notice] caught SIGTERM, shutting down eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. [Fri Jul 15 22:58:07 2005] [notice] Apache/1.3.33 (Unix) (Gentoo/Linux) PHP/4.3.11 mod_gzip/1.3.26.1a configured -- resuming normal operations I'm going to file a bugzilla report against this. I searched bugzilla and forums and didn't find anything that wasn't related to Apache 2 and PHP 5. (I'm still using Apache 1.3.x and PHP 4.x) So, the main question is "How do I update the Zend Engine API" so eaccelerator is happy? ;) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] eAccelerator/"Zend outdated"
Hi, Did you check php.ini. Looks to me like there is some mixup between installed versions of PHP. You should not rename eaccelerator.so to mmcache.so. Check php.ini and load the appropiate extensions. Catalin Jonathan Nichols wrote: Due to the recent GLSA, I updated PHP. :( Now that turck-mmcache is gone and replaced by eaccelerator, I thought that I'd give it a shot. No luck so far. Here's what I get in error_log: [Fri Jul 15 22:48:33 2005] [notice] caught SIGTERM, shutting down Failed loading /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: cannot open shared object file: No such file or directory eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. Failed loading /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: cannot open shared object file: No such file or directory eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. [Fri Jul 15 22:48:37 2005] [notice] Apache/1.3.33 (Unix) (Gentoo/Linux) PHP/4.3.11 mod_gzip/1.3.26.1a configured -- resuming normal operations php -v gives this: www conf # php -v PHP 4.4.0 (cli) (built: Jul 15 2005 22:33:58) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with eAccelerator v0.9.3, Copyright (c) 2004-2005 eAccelerator, by eAccelerator www conf # It compiles OK. I have "dev-php/eaccelerator-0.9.3-r1" installed (used ~x86 too) It just doesn't create a "mmcache.so" file. It appears that it creates "eaccelerator.so" instead. I just copied that file to mmcache.so and restarted Apache. Upon doing that, I get this error: [Fri Jul 15 22:58:03 2005] [notice] caught SIGTERM, shutting down eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. eAccelerator requires Zend Engine API version 20050606. The Zend Engine API version 20021010 which is installed, is outdated. [Fri Jul 15 22:58:07 2005] [notice] Apache/1.3.33 (Unix) (Gentoo/Linux) PHP/4.3.11 mod_gzip/1.3.26.1a configured -- resuming normal operations I'm going to file a bugzilla report against this. I searched bugzilla and forums and didn't find anything that wasn't related to Apache 2 and PHP 5. (I'm still using Apache 1.3.x and PHP 4.x) So, the main question is "How do I update the Zend Engine API" so eaccelerator is happy? ;)
Re: [gentoo-user] eAccelerator/"Zend outdated"
Catalin Trifu wrote: Hi, Did you check php.ini. Looks to me like there is some mixup between installed versions of PHP. You should not rename eaccelerator.so to mmcache.so. Check php.ini and load the appropiate extensions. Renaming the file didn't hurt anything. The ebuild creates the .so with one name and inserts another one into the config. I found the issue. This box actually had Zend on it. I forgot about that. :| Whoops.. -- gentoo-user@gentoo.org mailing list