added functionality for php_fpm and nginx plugins