Comment 8 for bug 1242376

Revision history for this message
Giacomo Orlandi (giaco-orlandi) wrote :

Hi,

We are using Precise LTS too here.
The init script from the php-fpm package in Ondřej's php5-oldstable PPA (PHP 5.4) works on Precise.
That's using start-stop-daemon instead of upstart.

So a fix for Precise, and possibly other older distributions, is to use that init script also on PHP 5.5.
This is the command that is run there:
start-stop-daemon --stop --signal USR2 --quiet --pidfile /var/run/php5-fpm.pid --name php5-fpm

Peter Wang: I can't see any difference between using "service" or the "init.d" script here.
I experience the same behaviour I use one, or the other or a mix of the 2.