Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105299 - eaccelerator ebuild installs eaccelerator.so that doesn't work with php5 & apache 1
Summary: eaccelerator ebuild installs eaccelerator.so that doesn't work with php5 & ap...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-08 13:12 UTC by Matt
Modified: 2005-09-09 09:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2005-09-08 13:12:27 UTC
I installed eAccelerator on my gentoo box after installing the new dev-lang/php
overlay.  When starting apache it would say that OnUpdateInt was an undefined
symbol.  I believe that in php5 the function onUpdateInt was essentially renamed
to onupdatelong.

I changed the code as follows:

#ifndef ZEND_ENGINE_2
#define OnUpdateLong OnUpdateInt
#endif

to

#ifndef ZEND_ENGINE_2
#define OnUpdateLong
#endif

After this change it works fine with php5.  

Reproducible: Always
Steps to Reproduce:
1. emerge the new dev-lang/php package
2. emerge eaccelerator
3. restart apache and look at the error log

Actual Results:  
the error message described above.

Expected Results:  
loaded eaccelerator.so properly.
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2005-09-09 09:43:24 UTC
Eaccelerator doesn't really support PHP5 that well, especially not newer
releases (like 5.1.0 fex.). We do not support Eaccelerator on PHP5, and
furthermore if you want to use any extension with the new dev-lang/php packages
you _MUST_ emerge it from either the dev-php4/ or dev-php5/ categories
(depending on the PHP version you want them for). De facto we only have
dev-php4/eaccelerator and NO dev-php5/eaccelerator, so we don't support (yet)
Eaccelerator on PHP5, we will do that only when upstream has sorted all the
problems with PHP5 support out. dev-php/eaccelerator is deprecated, don't use it.
Short story: no Eaccelerator for dev-lang/php-5*, only available for
dev-lang/php-4* as dev-php4/eaccelerator.
Best regards, CHTEKK.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-09 09:50:11 UTC
Closing. Please, consider dev-php5/pecl-apc instead for php5.