File tree Expand file tree Collapse file tree 2 files changed +7
-16
lines changed
Expand file tree Collapse file tree 2 files changed +7
-16
lines changed Original file line number Diff line number Diff line change 984984# ----------------------------------------------------------#
985985
986986if [ " $phpfpm " = ' yes' ]; then
987- if [ " $release " -eq 9 ]; then
988- cp -f $hestiacp /php-fpm/www.conf /etc/php/7.0/fpm/pool.d/www.conf
989- update-rc.d php7.0-fpm defaults
990- service php7.0-fpm start
991- check_result $? " php-fpm start failed"
992- else
993- cp -f $hestiacp /php5-fpm/www.conf /etc/php5/fpm/pool.d/www.conf
994- update-rc.d php5-fpm defaults
995- service php5-fpm start
996- check_result $? " php-fpm start failed"
997- fi
987+ cp -f $hestiacp /php-fpm/www.conf /etc/php/7.2/fpm/pool.d/www.conf
988+ update-rc.d php7.2-fpm defaults
989+ service php7.2-fpm start
990+ check_result $? " php-fpm start failed"
998991fi
999992
1000993
Original file line number Diff line number Diff line change 986986# ----------------------------------------------------------#
987987
988988if [ " $phpfpm " = ' yes' ]; then
989- cp -f $hestiacp /php-fpm/www.conf $pool /
990- php_fpm=$( ls /etc/init.d/php* -fpm* | cut -f 4 -d /)
991- ln -s /etc/init.d/$php_fpm /etc/init.d/php-fpm > /dev/null 2>&1
992- update-rc.d $php_fpm defaults
993- service $php_fpm start
989+ cp -f $hestiacp /php-fpm/www.conf /etc/php/7.2/fpm/pool.d/www.conf
990+ update-rc.d php7.2-fpm defaults
991+ service php7.2-fpm start
994992 check_result $? " php-fpm start failed"
995993fi
996994
You can’t perform that action at this time.
0 commit comments