We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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.