After emerging a new Version of php, eAccelerator has to be remerged and compiled for this version.
You get the following warnings in the Apache-Log:
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.4_p20070914-pl2-gentoo. Rebuild it for your PHP version (5.2.5-pl0-gentoo) or download precompiled binaries.
Perhaps it's possible to include a command into the ebuild to re-emerge eAccelerator after php has been emerged.
Steps to Reproduce:
1. Install a older version of php (e.g. php-5.2.4_p20070914-r2 and the newest Version of eaccelerator (0.9.5.1)
2. Install the newest version of php (php-5.2.5)
3. Look at the error logs while calling your pages (look at "Description for a detailed Message)
4. re-emerge eaccelerator
5. Everything is working fine again
Internal Server Error (500)
Workaround at the moment: Emerge eAccelerator after emerging the new php.
(In reply to comment #0)
> Perhaps it's possible to include a command into the ebuild to re-emerge
> eAccelerator after php has been emerged.
No, it's not, sorry.
*** This bug has been marked as a duplicate of bug 192319 ***