mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
20 lines
878 B
Text
20 lines
878 B
Text
|
|
; Additional php.ini defines, specific to this pool of workers.
|
|
env[PATH] = $PATH
|
|
php_admin_value[memory_limit] = 512M
|
|
php_value[upload_max_filesize] = 10G
|
|
php_value[post_max_size] = 10G
|
|
php_value[default_charset] = UTF-8
|
|
; OPcache is already activated by default
|
|
; php_value[opcache.enable]=1
|
|
; The following parameters are nevertheless recommended for Nextcloud
|
|
; see here: https://docs.nextcloud.com/server/15/admin_manual/installation/server_tuning.html#enable-php-opcache
|
|
php_value[opcache.enable_cli]=1
|
|
php_value[opcache.interned_strings_buffer]=32
|
|
php_value[opcache.max_accelerated_files]=10000
|
|
php_value[opcache.memory_consumption]=128
|
|
php_value[opcache.save_comments]=1
|
|
php_value[opcache.revalidate_freq]=1
|
|
; https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html#id1
|
|
php_value[apc.enabled]=1
|
|
php_value[apc.enable_cli]=1
|