Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running lighttpd with php5-cgi. Running /etc/init.d/lighttpd restart does not cause the php-cgi processes to restart. Should I just killall them, or is there a more appropriate way to get them to restart?

share|improve this question

1 Answer 1

maybe you try one of these init scripts:

http://blog.codefront.net/2007/06/11/nginx-php-and-a-php-fastcgi-daemon-init-script/ or http://tomasz.sterna.tv/2009/04/php-fastcgi-with-nginx-on-ubuntu/

didnt try them myself but i guess i have to in the next days but it seems appropiate to reload php-fastcgi via (example code):

/etc/init.d php-cgi stop
/etc/init.d php-cgi start

maybe you can share your experience

or try to: "Change your PHP binary to FPM instead of old fastcgi"
as suggested in another answer here. that solved it for me!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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