Fix for missing php-fpm config files

First off: Many thanks to epek for the Fix!

This is the original bug report:
http://redmine.froxlor.org/issues/1079

Also reported here:
http://redmine.froxlor.org/issues/1092

The fix was documented here:
http://redmine.froxlor.org/issues/1093

Additionally fixes a undefined variable warning