Spawning PHP as FastCGI

I used the bash script given on this
pagehttp://wiki.nginx.org/PHPFcgiExample#Spawning_a_FastCGI_Process,
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.

On Wednesday 23 November 2011 00:24:03 B.R. wrote:

I used the bash script given on this
pagehttp://wiki.nginx.org/PHPFcgiExample#Spawning_a_FastCGI_Process,
after having changed the binding to a UNIX socket (and not a network one).
[…]

Sorry for offtopic, but is there any reason to use it instead of
php-fpm?

wbr, Valentin V. Bartenev