1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kimai2_ynh.git synced 2024-09-03 19:26:26 +02:00

Remove ini file for php

This commit is contained in:
anmol26s 2018-10-03 17:43:56 +05:30
parent 1cbdff7b77
commit 515353dc96
3 changed files with 10 additions and 2 deletions

View file

@ -390,3 +390,13 @@ 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] = 32M ;php_admin_value[memory_limit] = 32M
; Common values to change to increase file upload limit
upload_max_filesize = 8M
post_max_size = 8M
; mail.add_x_header = Off
; Other common parameters
max_execution_time = 600
; max_input_time = 300
; memory_limit = 256M
; short_open_tag = On

View file

@ -49,5 +49,4 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
#================================================= #=================================================
ynh_backup "/etc/php/7.2/fpm/pool.d/$app.conf" ynh_backup "/etc/php/7.2/fpm/pool.d/$app.conf"
ynh_backup "/etc/php/7.2/fpm/conf.d/20-$app.ini"

View file

@ -80,7 +80,6 @@ chown -R $app: $final_path
#================================================= #=================================================
ynh_restore_file "/etc/php/7.2/fpm/pool.d/$app.conf" ynh_restore_file "/etc/php/7.2/fpm/pool.d/$app.conf"
ynh_restore_file "/etc/php/7.2/fpm/conf.d/20-$app.ini"
#================================================= #=================================================
# SPECIFIC RESTORATION # SPECIFIC RESTORATION