1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00
moncycle_ynh/conf/extra_php-fpm.conf

24 lines
828 B
Text
Raw Normal View History

2023-01-23 22:14:12 +01:00
; Additional php.ini defines, specific to this pool of workers.
; Common values to change to increase file upload limit
; php_admin_value[upload_max_filesize] = 50M
; php_admin_value[post_max_size] = 50M
; php_admin_flag[mail.add_x_header] = Off
; Other common parameters
; php_admin_value[max_execution_time] = 600
; php_admin_value[max_input_time] = 300
; php_admin_value[memory_limit] = 256M
; php_admin_flag[short_open_tag] = On
2023-01-25 18:26:55 +01:00
; Session lifetime to avoid disconnections on PWA mode
php_admin_value[session.gc_maxlifetime] = 2592000
2023-03-27 14:09:51 +02:00
php_admin_value[session.cookie_lifetime] = 2592000
php_value[session.save_path] = /var/www/__APP__/sessions
; caching php files
php_value[opcache.enable_cli]=1
php_value[opcache.max_accelerated_files]=100
php_value[opcache.memory_consumption]=32M
php_value[opcache.revalidate_freq]=300