1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
The APC module for PHP versions 5.4 and 5.5 (higher versions require opcache) can be enabled on a managed Cloud Server. Feel free tocontact us (click here) so we can put it in place.
Once enabled, so that it works for the console version (CLI) as well, you need to complete the Web server file in PHP as there is a difference between the PHP used by the Web server and when you are in CLI:
$ php -m |grep apc
To address this difference:$ php -c /opt/php/lib/php.ini
$php -c /opt/php/lib/php.ini -m |grep apc
Be careful to enter the right version of PHP that you are using:$ /opt/php-5.x/bin/php -c /opt/php-5.x/lib/php.ini
By installing apcu.so, for example in /opt/php5.6/lib/php-cli.ini (and thereby forcing the use of PHP 5.6), apcu will load correctly.