views:

39

answers:

0

Let me start by saying that the problem I have looks totally weird to me!

On a remote server, I have nginx as the web server and PHP running as a Fast-CGI module. I also host my SVN repository on the same server. Now I have a working copy of the repo on my local computer. I make changes to them, and commit to the repo on my remote server. On the remote server I have a post-commit hook script that automatically exports the files from the repo into the web root folder of nginx on the remote machine. Everything works fine till here. But I've noticed that each time I commit, when I try to access the PHP files in my site from a browser, they give out some unrelated mixed up data. So I'm guessing something went wrong with PHP. Now, after the commit, if I manually restart the php fastcgi process, everything's back to normal and the php files work as expected!

Any idea what's going wrong? Or is there a log file for the PHP fastcgi module that I can trace?