Hi,
Using the new Zend OPcache, starting with php 5.5.0beta3, I'm going to push today in rawhide and F19, you can specify a list of files that should not be accelerated.
From upstream comments
; Files are usually triggered by one of the following three reasons: ; 1) Directories that contain auto generated code, like Smarty or ZFW cache. ; 2) Code that does not work well when accelerated, due to some delayed ; compile time evaluation. ; 3) Code that triggers an OPcache bug.
In RPM default provided configuration:
opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
So, you can provide, in your package, if needed:
For exemple Name: /etc/php.d/opcache-horde.blacklist
Content; /etc/horde/
Of course, this file could be provided in all branches, including EPEL, as php-pecl-zendopcache will be provided there (as soon as review, please, if you have some time), with the same default configuration.
Remi.