When I reboot my Ubuntu 12.04, php5-fpm doesn't run automatically. However nginx does start automatically.

I am using Unix socket instead of TCP\IP

This is the output of /etc/init.d/php5-fpm status after a server reboot:

/etc/init.d/php5-fpm status
* php5-fpm is not running

1 Answer 1


Did you tried update-rc.d?

When you execute sudo update-rc.d php5-fpm defaults php5-fpm wil start at boot.

  • It fixed it, thanks. But can you please tell me what does update-rc do? Dec 17, 2013 at 14:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.