mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
try to debug
This commit is contained in:
parent
fc35aa2e29
commit
2fb37a8951
5 changed files with 15 additions and 5 deletions
10
conf/php-fpm.ini
Normal file
10
conf/php-fpm.ini
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
; Common values to change to increase file upload limit
|
||||||
|
; upload_max_filesize = 50M
|
||||||
|
; post_max_size = 50M
|
||||||
|
; mail.add_x_header = Off
|
||||||
|
|
||||||
|
; Other common parameters
|
||||||
|
; max_execution_time = 600
|
||||||
|
; max_input_time = 300
|
||||||
|
; memory_limit = 256M
|
||||||
|
; short_open_tag = On
|
|
@ -48,8 +48,8 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
# BACKUP THE PHP-FPM CONFIGURATION
|
# BACKUP THE PHP-FPM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup "/etc/php7/fpm/pool.d/$app.conf"
|
ynh_backup "/etc/php7.0/fpm/pool.d/$app.conf"
|
||||||
ynh_backup "/etc/php7/fpm/conf.d/20-$app.ini"
|
ynh_backup "/etc/php7.0/fpm/conf.d/20-$app.ini"
|
||||||
|
|
||||||
# Backup directory location for the app from where the script is executed and
|
# Backup directory location for the app from where the script is executed and
|
||||||
# which will be compressed afterward
|
# which will be compressed afterward
|
||||||
|
|
|
@ -55,7 +55,7 @@ ynh_app_setting_set $app is_public $is_public
|
||||||
|
|
||||||
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
||||||
then
|
then
|
||||||
ynh_install_app_dependencies php-sqlite3
|
ynh_install_app_dependencies php7.0-sqlite3
|
||||||
else
|
else
|
||||||
ynh_install_app_dependencies php5-sqlite
|
ynh_install_app_dependencies php5-sqlite
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -55,7 +55,7 @@ ynh_app_setting_set $app is_public $is_public
|
||||||
|
|
||||||
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
||||||
then
|
then
|
||||||
ynh_install_app_dependencies php-sqlite3
|
ynh_install_app_dependencies php7.0-sqlite3
|
||||||
else
|
else
|
||||||
ynh_install_app_dependencies php5-sqlite
|
ynh_install_app_dependencies php5-sqlite
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -55,7 +55,7 @@ ynh_app_setting_set $app is_public $is_public
|
||||||
|
|
||||||
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
||||||
then
|
then
|
||||||
ynh_install_app_dependencies php-sqlite3
|
ynh_install_app_dependencies php7.0-sqlite3
|
||||||
else
|
else
|
||||||
ynh_install_app_dependencies php5-sqlite
|
ynh_install_app_dependencies php5-sqlite
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue