We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f823a3 commit db545e7Copy full SHA for db545e7
php-extension.sh
@@ -31,8 +31,8 @@ done
31
#restart fpm
32
echo 'Restart fpm ...'
33
PHP_VERSION=$(php -v | grep '^PHP ' | sed -E "s/^PHP ([0-9]\.[0-9]).*$/\1/")
34
-service php"$PHP_VERSION"-fpm restart 2> /dev/null
35
-service php-fpm restart 2> /dev/null
+/etc/init.d/php"$PHP_VERSION"-fpm restart 2> /dev/null
+/etc/init.d/php-fpm restart 2> /dev/null
36
37
#restart apache
38
echo 'Restart apache ...'
0 commit comments