Daniel
November 19, 2016, 1:09pm
1
Ubuntu 14.04 LTS ships with an outdated version of the PHP user cache
driver ‘APCu’. OwnCloud, if installed, will complain about this. Here I
describe how to upgrade APCu on Ubuntu.
This is a companion discussion topic for the original entry at https://www.xltoolbox.net/blog/2015/04/upgrading-php-apcu-on-ubuntu-14-dot-04-lts.html
Daniel
October 18, 2017, 3:59pm
2
For Ubuntu 16.04 LTS, command to install the PHP 7 developer package is:
$ sudo apt install php-dev
In additions, it is now necessary to add extension=acpu.so
to the configuration:
$ sudo vim /etc/php/7.0/apache2/conf.d/20-apcu.ini
I also had to install additional PHP modules:
$ sudo apt install php-zip php-curl
Don’t forget to sudo service apache2 reload
afterwards.