TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: A. DUMAS
from: STEFFEN BENDIX
date: 2018-02-22 14:37:00
subject: Re: How to activate php7.

A. Dumas  wrote:

> My advice is to start with a
> completely fresh Raspbian image.

Definitely not. Everything else runs fine. But I found this page which
explains how to install and setup php7.0 properly.

https://hackedit.de/530

PHP7.0 is now used by Nextcloud.

But Nextcloud shows messages about the not configured PHP-OPcache. I set
up the following as it was recommended by Nextcloud:

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

I wrote the changes into

/etc/php5/apache2/php.ini
/etc/php5/fpm/php.ini
/etc/php/7.0/cli/php.ini
/etc/php/7.0/apache2/php.ini

The message does not disappear, even after a restart of apache2 and the
Raspi. But Nextcloud runs.

Steffen

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.