We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Call to undefined function apc_exists()



145.0k
Accepted
answer

You need to install apcu_bc for php 7. Apc emulation in apcu for php 7 was dropped and there is apcu_bc forapc_* methods.

Notice that this extension ONLY emulates methods like apc_* it doesn't emulates classes. So if you will try delete keys in phalcon apc adapters it will most likely throw exception that APCIterator doesn't exist.