|
@@ -16,14 +16,14 @@ start)
|
|
|
if [ -x /usr/bin/php-cgi ];then
|
|
if [ -x /usr/bin/php-cgi ];then
|
|
|
/usr/bin/php-cgi -b /var/run/php5.sock &
|
|
/usr/bin/php-cgi -b /var/run/php5.sock &
|
|
|
else
|
|
else
|
|
|
- /usr/bin/php-fpm -D
|
|
|
|
|
|
|
+ /usr/bin/php -D
|
|
|
fi
|
|
fi
|
|
|
;;
|
|
;;
|
|
|
stop)
|
|
stop)
|
|
|
if [ -x /usr/bin/php-cgi ];then
|
|
if [ -x /usr/bin/php-cgi ];then
|
|
|
pkill php-cgi
|
|
pkill php-cgi
|
|
|
else
|
|
else
|
|
|
- pkill php-fpm
|
|
|
|
|
|
|
+ pkill php
|
|
|
fi
|
|
fi
|
|
|
;;
|
|
;;
|
|
|
restart)
|
|
restart)
|