Le 29/06/2016 à 08:22, Remi Collet a écrit :
Get back old apc API:
1350148: php-pecl-apcu-bc - APCu Backwards Compatibility Module
Thanks to Nathanael, the package is now in rawhide.
Some explanation.
With PHP 5, apcu was providing both the old apc API (apc_* functions)
and the new apcu API (apcu_* functions).
With PHP 7 apcu only provides its own API,
while apcu-bc provide the old apc API (mostly function aliases).
So check your code/dependency to require the right API,
this works in all branches, including EPEL:
- php-pecl(APC)
- php-pecl(apcu)
Remi.
P.S. installing a user data cache should usually be an admin choice, so
a weak dependency.