PHP FastCGI SAPI: Reloading PHP Configuration

Posted by Emre on Server Fault See other posts from Server Fault or by Emre
Published on 2009-12-10T09:50:44Z Indexed on 2010/04/05 2:03 UTC
Read the original article Hit count: 763

Filed under:
|
|

I am using PHP FastCGI SAPI on my web hosting environment to run PHP applications. To spawn FCGI processes I use spawn-fcgi helper program. My problem is whenever I make a change to php.ini file, I have to kill and respawn each FastCGI server for the new configuration to take effect.

Is there a way to reload PHP configuration(ie. php.ini directives) without respawning each FastCGI server? I try sending hangup signal (ie. kill -HUP PHPCGIPID) to the servers but this will result in termination of the servers.

© Server Fault or respective owner

Related posts about spawn-fcgi

Related posts about fastcgi