From c23a3f5662c86091eb664e74dee1653c1d991aaa Mon Sep 17 00:00:00 2001 From: liberodark Date: Tue, 5 Nov 2019 18:35:21 +0100 Subject: [PATCH 1/3] Update nginx.conf --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 74fc4df..169cdcb 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -16,7 +16,7 @@ location __PATH__ { try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock; + fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; # If you don't use a dedicated fpm config for your app, # use a general fpm pool. From 13f5fdb64823b8159a5083b87f4afbd268f59e03 Mon Sep 17 00:00:00 2001 From: liberodark Date: Tue, 5 Nov 2019 18:37:34 +0100 Subject: [PATCH 2/3] Update install --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 259dfdc..c7c28a9 100644 --- a/scripts/install +++ b/scripts/install @@ -76,6 +76,7 @@ ynh_app_setting_set $app is_public $is_public ynh_print_info --message="Installing php7.1..." ynh_install_php --phpversion="7.1" --package="$extra_pkg_dependencies" +ynh_install_app_dependencies postgresql #================================================= # Create postgresql database From 01f35a8547daeec08aa380d4d3ac335c1a4f0f6d Mon Sep 17 00:00:00 2001 From: liberodark Date: Tue, 5 Nov 2019 18:37:53 +0100 Subject: [PATCH 3/3] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index c6e7e5a..b8c5f97 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -12,7 +12,7 @@ ynh_delete_file_checksum () { ynh_app_setting_delete $app $checksum_setting_name } -extra_pkg_dependencies="php7.1-zip php7.1-mysql php7.1-xml php7.1-intl php7.1-mbstring php7.1-gd php7.1-curl php7.1-soap php7.1-pgsql php7.1-xmlrpc postgresql" +extra_pkg_dependencies="php7.1-zip php7.1-mysql php7.1-xml php7.1-intl php7.1-mbstring php7.1-gd php7.1-curl php7.1-soap php7.1-pgsql php7.1-xmlrpc" # Send an email to inform the administrator #