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. 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 # 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