How do you restart php instance when using nginx

3 posts / 0 new
Last post
#1 Wed, 03/07/2012 - 02:03
alexp999

How do you restart php instance when using nginx

I'm using the documented nginx implementation, but one thing i haven't been able to work out, how do you refresh the php instance after changing the config?

Mon, 03/12/2012 - 07:05
PlayGod

There are service scripts in init.d for each of your virtual domains.
php-fcgi-domain1.com
php-fcgi-domain2.com

Script allows stop, start, restart via command line
e.g.
service php-fcgi-domain2.com restart

Mon, 03/12/2012 - 09:33
alexp999

Ah perfect! Just what I was looking for,

Thanks.

Topic locked