Added php-fpm support (issue #2409)