mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Remove ini file for php
This commit is contained in:
parent
ad2e776f58
commit
88f53e9da5
4 changed files with 8 additions and 9 deletions
|
@ -390,3 +390,11 @@ catch_workers_output = yes
|
||||||
;php_admin_value[error_log] = /var/log/fpm-php.www.log
|
;php_admin_value[error_log] = /var/log/fpm-php.www.log
|
||||||
;php_admin_flag[log_errors] = on
|
;php_admin_flag[log_errors] = on
|
||||||
php_admin_value[memory_limit] = 64M
|
php_admin_value[memory_limit] = 64M
|
||||||
|
|
||||||
|
; Common values to change to increase file upload limit
|
||||||
|
php_admin_value[upload_max_filesize] = 100M
|
||||||
|
php_admin_value[post_max_size] = 100M
|
||||||
|
|
||||||
|
; Other common parameters
|
||||||
|
php_admin_value[max_execution_time] = 3600
|
||||||
|
php_admin_value[max_input_time] = 3600
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
; Common values to change to increase file upload limit
|
|
||||||
upload_max_filesize = 100M
|
|
||||||
post_max_size = 100M
|
|
||||||
|
|
||||||
; Other common parameters
|
|
||||||
max_execution_time = 3600
|
|
||||||
max_input_time = 3600
|
|
|
@ -66,7 +66,6 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup "/etc/php5/fpm/pool.d/$app.conf"
|
ynh_backup "/etc/php5/fpm/pool.d/$app.conf"
|
||||||
ynh_backup "/etc/php5/fpm/conf.d/20-$app.ini"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP MYSQL DB
|
# BACKUP MYSQL DB
|
||||||
|
|
|
@ -102,7 +102,6 @@ systemctl restart fail2ban
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_restore_file /etc/php5/fpm/pool.d/$app.conf
|
ynh_restore_file /etc/php5/fpm/pool.d/$app.conf
|
||||||
ynh_restore_file "/etc/php5/fpm/conf.d/20-$app.ini"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Reference in a new issue