Merge pull request #60 from kay0u/patch-1

[fix] Update example with the new version of php
This commit is contained in:
Maniack Crudelis
2019-02-10 14:22:04 +01:00
committed by GitHub
5 changed files with 65 additions and 38 deletions

View File

@@ -72,7 +72,7 @@ chown -R root: $final_path
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
ynh_restore_file "/etc/php5/fpm/pool.d/$app.conf"
ynh_restore_file "/etc/php/7.0/fpm/pool.d/$app.conf"
#=================================================
# SPECIFIC RESTORATION
@@ -122,5 +122,5 @@ ynh_restore_file "/etc/logrotate.d/$app"
# RELOAD NGINX AND PHP-FPM
#=================================================
systemctl reload php5-fpm
systemctl reload php7.0-fpm
systemctl reload nginx