API Issues

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
dirtyb15
Posts: 17
Joined: Wed Oct 14, 2015 1:47 pm

API Issues

Post by dirtyb15 »

New install of 1.32.2 on mint 19 (ubuntu 18.04).
Everything seems to be working great but the API. Get this when checking version. Any ideas? thanks!

Fatal error: Uncaught Error: Call to undefined function apc_fetch() in /usr/share/zoneminder/www/api/lib/Cake/Cache/Engine/ApcEngine.php:91 Stack trace: #0 /usr/share/zoneminder/www/api/lib/Cake/Cache/Cache.php(363): ApcEngine->read('myapp_cake_core...') #1 /usr/share/zoneminder/www/api/lib/Cake/I18n/I18n.php(235): Cache::read('cake_dev_en-us', '_cake_core_') #2 /usr/share/zoneminder/www/api/lib/Cake/basics.php(636): I18n::translate('Cache engine "%...', NULL, 'cake_dev') #3 /usr/share/zoneminder/www/api/lib/Cake/Cache/Cache.php(184): __d('cake_dev', 'Cache engine "%...', '_cake_core_') #4 /usr/share/zoneminder/www/api/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('_cake_core_') #5 /usr/share/zoneminder/www/api/app/Config/core.php(375): Cache::config('_cake_core_', Array) #6 /usr/share/zoneminder/www/api/lib/Cake/Core/Configure.php(72): include('/usr/share/zone...') #7 /usr/share/zoneminder/www/api/lib/Cake/bootstrap.php(439): Configure::bootstrap(true) #8 /usr/share/zoneminder/www/api/app/webroot/index.php(90): incl in /usr/share/zoneminder/www/api/lib/Cake/Cache/Engine/ApcEngine.php on line 91
dirtyb15
Posts: 17
Joined: Wed Oct 14, 2015 1:47 pm

Re: API Issues

Post by dirtyb15 »

Well, tried everything and this is the only way i got it working

apt-add-repository ppa:ondrej/php
apt-get update

apt-get install php7.0-apcu
apt-get install php7.0-apcu-bc
Post Reply