diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index ba6e159..e6168d8 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -392,6 +392,4 @@ catch_workers_output = yes ;php_admin_value[memory_limit] = 32M php_admin_value[open_basedir] = none -php_admin_value[date.timezone] = "YHTZ" - -extension=pdo_pgsql.so \ No newline at end of file +php_admin_value[date.timezone] = "YHTZ" \ No newline at end of file diff --git a/scripts/install b/scripts/install index ad11e72..c573074 100644 --- a/scripts/install +++ b/scripts/install @@ -84,7 +84,7 @@ ynh_app_setting_set "$app" port "$port" # Install packages ynh_install_app_dependencies php-curl php-cli php-mbstring php-pgsql php-xml \ - postgresql + postgresql php7.0-pgsql #================================================= # CREATE A PostgreSQL DATABASE @@ -157,8 +157,8 @@ ynh_replace_string "'/ws/'" "'${path_url%/}/ws/'" \ ( cd "$final_path" curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \ - && php composer.phar config --global discard-changes true --verbose \ - && php composer.phar install --no-interaction --verbose + && php composer.phar config --global discard-changes true \ + && php composer.phar install --no-interaction ) #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 2978da4..ff3bc56 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -83,7 +83,7 @@ path_url=$(ynh_normalize_url_path $path_url) #================================================= ynh_install_app_dependencies php-curl php-cli php-mbstring php-pgsql php-xml \ - postgresql + postgresql php7.0-pgsql #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE @@ -193,4 +193,4 @@ ynh_add_systemd_config #================================================= # Reload services -service nginx reload +service nginx reload \ No newline at end of file