I'm running nginx on ubuntu server 12.04 and I just updated to the most recent php package as follows http://phpave.com/upgrade-php-5-3-php-5-5-ubuntu-12-04-lts/#.Uzsho1RdURg.
In the final part of the installation I was asked if I wanted to substitute the conf file since the one on the server was different from the original and I agreed on that. Unfortunately I can't find the conf file in the server so I'd like to know where I can check it because the problem must be within it.
I've tried to service php5-fpm restart with nginx but it failed and returned the following message
Rejected send message, 1 matched rules; type="method_call", sender=":1.17" (uid=1000 pid=8013 comm="stop php5-fpm ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
Whenever I load the server I get a 502 bad gateway. How can I check what is wrong with it?