I am using Phalcon PHP framework with newly installed PHP 7.0 on Ubuntu 16.04. I also installed apcu and apcu_bc via pecl and I am getting 500 internal error with Apache logging this error:
error: Uncaught Error: Call to undefined function apc_clear_cache() in /var/www/html/project/app/controllers/ControllerBase.php:97 ......
line 97 of ControllerBase.php:
apc_clear_cache();
phpinfo():
apcu
APCu Support Enabled
Version 5.1.5
APCu Debugging Enabled
MMAP Support Enabled
MMAP File Mask no value
Serialization Support php
Build Date Jul 9 2016 17:22:04
Ok the solution was to rename all the apc_* functions to apcu_* ... I guess the apcu_bc isn't working as it should.