Não posso usar o Opcache no meu servidor Nextcloud

0

Estou seguindo as instruções oficiais da página oficial da Nextclouds. Eu colei neste texto em /etc/php/7.0/apache2/php.ini:

opcache.enable = 1

opcache.enable_cli = 1

opcache.interned_strings_buffer = 8

opcache.max_accelerated_files = 10000

opcache.memory_consumption = 128

opcache.save_comments = 1

opcache.revalidate_freq = 1

e ainda recebo a mensagem de erro. Eu uso o Ubuntu 16.04.3 e PHP7.

Obrigado antecipadamente.

    
por Jakob Öhman 08.12.2017 / 22:57

1 resposta

0

Talvez isso ajude você a: link No meu caso, funcionou assim:
Não edite /etc/php/7.0/apache2/php.ini
Edite o arquivo /etc/php/7.0/mods-available/opcache.ini
E ative o modo opcache sudo phpenmod opcache
E reinicie o apache sudo phpenmod opcache

    
por user836141 31.05.2018 / 22:52