Welcome! Log In Create A New Profile

Advanced

Spawning PHP as FastCGI

B.R.
November 22, 2011 03:26PM
I used the bash script given on this
page<http://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.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Spawning PHP as FastCGI

B.R. November 22, 2011 03:26PM

Re: Spawning PHP as FastCGI

Valentin V. Bartenev November 22, 2011 03:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready