i'm starting to write ebuild packages to all Zend Products (i work there) so i've started with Zend Optimizer. the ebuild installs all versions of the module to the system (both php4 and php5 versions). Zend Optimizer comes with Zend Extension manager, and that manager chooses which module to load accoring to the current system's php version. hope you like it :)
Created attachment 93486 [details] Zend Optimizer intiaal version
Created attachment 93487 [details] ext - zend extension manager ini file
Created attachment 93488 [details] ext - zend optimizer extensions ini file
This is already in PHP overlay, we'll bump it there. http://overlays.gentoo.org/proj/php/browser/testing/dev-php5/ZendOptimizer
dev-php[45]/ZendOptimizer-3.3.0a in CVS now, enjoy!