I'm running a Ubuntu 16.04 LTS VM with a LAMP setup, which has PHP 7.0 installed. When I run my code I get the following error: Class 'APCIterator' not found
.
I made sure I have APCu installed and enabled:
$ sudo apt-get install php-apcu // install package
$ sudo phpenmod apcu // enable it
Is there anything I could do to resolve this problem (without editing the PHP code), or should I just switch back to Ubuntu 14 LTS and use PHP 5?