V
V
Viktor Grachev2015-10-09 15:06:16
PHP
Viktor Grachev, 2015-10-09 15:06:16

How to configure php5-apcu to work with Owncloud?

Good afternoon! I installed a new version of Owncloud 8.1 and several errors pop up in the admin panel, one of which is about the need to configure caching. Owncloud documentation recommends installing php5-apcu version 4.0.6 and higher. I installed the required version and added the line in the Owncloud settings:
'memcache.local' => '\OC\Memcache\APCu'.
After that, a white screen in the browser, as I understand it, the caching module does not work. I googled a lot of configuration options, none of them helped.
If someone faced such a problem, please tell me how to solve this issue.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Barsukov, 2015-10-15
@slavabars

Elevate privileges
Check version
Delete the old version

php5dismod apcu
apt-get remove php5-apcu

We put a new working
cd ~
wget http://www.kiloroot.com/wp-content/uploads/2015/08/php5-apcu_4.0.6-1_amd64.deb
dpkg -i php5-apcu_4.0.6-1_amd64.deb
php5enmod apcu

Editing the config
touch /etc/php5/mods-available/apcu-cli.ini
echo 'apc.enable_cli = 1' > /etc/php5/mods-available/apcu-cli.ini
php5enmod apcu-cli

Restart Apache
Copy the config
We open it in the editor
We change the directive
We go under the administrator to the config and see the errors, there are - we correct. We clean, turn on the cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question