Note: Instructions below will enable the control of php5-fp, process via the /etc/init.d script. This is not mandatory. You can use the service command to control the php5-fpm process. Examples below:
service php5-fpm start
service php5-fpm stop
service php5-fpm restart
Disable control of php-fpm via upstart
Instructions below will disable control of php5-fpm via upstart.
Latest PHP 5.6 from dotdeb repository for wheezy is available but if started with
/etc/init.d/php5-fpm start it will not start. This is because of the upstart check inside the script. The problem is with this line
# Don't run if we are running upstart
if init_is_upstart; then
Comment out that check and the script will work again.
Disable upstart for php-fpm
# echo 'manual' > /etc/init/php5-fpm.override