Spawning PHP as FastCGI

B.R. reallfqq-nginx at
Tue Nov 22 20:24:03 UTC 2011

I used the bash script given on this
after having changed the binding to a UNIX socket (and not a network one).

The update-rc configuration tool gives me this output:
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'php-cgi' missing LSB tags and overrides
insserv: There is a loop between service nginx and php-cgi if stopped
insserv:  loop involving service php-cgi at depth 2
insserv:  loop involving service nginx at depth 1
insserv: Stopping php-cgi depends on nginx and therefore on system facility
`$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header

I'm not used to the services configuration, but dependencies between nginx
and php seems to be somehow buggy.
How to fix that in a cleaner way?

Many thanks,
*B. R.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list