Error Cache: Hosting in Digital Ocean

50 views
Skip to first unread message

Luiz Fernando Pilz

unread,
Feb 18, 2017, 12:27:27 PM2/18/17
to Fat-Free Framework
Hello Guys,

I'm hosting my app in Digital Ocean with LAMP (PHP 7, APACHE and MySQL).

CACHE = true

Now I have error: 

Call to undefined function apc_fetch() [/var/www/html/lib/base.php:2370]

[index.php:7] Base->config()

I know that's cache, how to for correct?


Please!!!

Tks,
Luiz Fernando Pilz

ved

unread,
Feb 19, 2017, 11:34:43 AM2/19/17
to Fat-Free Framework
I'm not sure what operating system you're using, but on Debian that should be solved by installing the php-apcu-bc package i think.

Luiz Fernando Pilz

unread,
Feb 26, 2017, 8:58:07 PM2/26/17
to Fat-Free Framework
I has that to install 5.6 php version and its worked!

ved

unread,
Feb 26, 2017, 9:34:15 PM2/26/17
to Fat-Free Framework
As I said, apcu changed a bit with php7+, so you could (should?) still have used php7 and just install the apcu-bc package that provides backward compatibility.

But sure, if that worked for you, then problem solved :)

Nuwanda

unread,
Mar 3, 2017, 4:14:04 PM3/3/17
to Fat-Free Framework
But does this mean F3's cache is not compatible with php 7.x out of the box unless the patch is applied?

bcosca

unread,
Mar 5, 2017, 2:09:50 AM3/5/17
to Fat-Free Framework
Check out latest dev branch. It removes apcu-bc dependency so APCu alone should work with PHP7.
Reply all
Reply to author
Forward
0 new messages