Differences between revisions 1 and 2
Revision 1 as of 2020-03-19 15:23:14
Size: 915
Comment:
Revision 2 as of 2020-03-19 15:49:19
Size: 938
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
Uncomment `env[PATH]` from `/etc/php/php-fpm.d/www.conf`. In `/etc/php/php-fpm.d/www.conf`, uncomment `env[PATH]` OR set `clear_env = no`.

Nextcloud


Installation

Web Server

PHP

There are several steps beyond a standard FastCGI configuration.

In /etc/php/php-fpm.d/www.conf, uncomment env[PATH] OR set clear_env = no.

Enable the opcache module and tune it. The defaults are typically enough.

opcache.enable=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

Back-end

Setup the MariaDB back-end to use actual UTF-8 encoding.

mysql -u root -p
mysql> CREATE DATABASE nextcloud DEFAULT CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci';
mysql> GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost' IDENTIFIED BY 'password';
mysql> FLUSH PRIVILEGES;
mysql> \q


CategoryRicottone

PHP/Nextcloud (last edited 2023-04-22 20:23:04 by DominicRicottone)