adjusted php-fpm cookbook, partially forked from opscode's version