im updating a project from SF2.6 -> 2.8.x -> 3.4.x one of the first necessary steps, in my opinion, was to update from PHP5.6 to PHP7.1.x
everything worked "fine" so far but now im stuck with doctrine using ApcCache instead of ApcuCache - both classes are available in the vendor/doctrine folders but i have no clue were i can tell doctrine to use the ApcuCache-Class instead of the ApcCache-Class - there is even a notice in the src files that ApcCache is deprecated since 1.6 and devs should use the ApcuCache
im running a docker container were i replaced the old apc (1.2.x) version with apcu (1.5.x) and added a backward compatibility lib for php7+
###########################################################################
# APC:
###########################################################################
ARG INSTALL_APC=true
RUN if [ ${INSTALL_APC} = true ]; then \
yes|pecl install apcu && pecl install apcu_bc && docker-php-ext-enable apcu \
;fi
###########################################################################
# Check PHP version:
###########################################################################
what i've tried... i just replaced all "apc_"-Calls in ApcCache.php with actual "apcu_"-Calls - after that change everything worked fine again - but this is were the root of my question comes from - i just have to tell doctrine to use the other internal class - somehow...
any help is much appreciated.