I meet a problem with php-fpm when deploying new code to the webserver.
I have nginx + php-fpm + apc to serve my site. for code deployment, I use git to pull code form git repository.
The problem is : when I git pull the new code to deploy code update to web server, php-fpm does not reflect the update, still serve the code before pull. I have to restart php-fpm, then the updated code is served.
This is very inconvenient for deployment. I googled around but does not find any hint about the reason behind.
Can anyone tell me why and is their any way to avoid restart?