ProxyFCGISetEnvIf "true" PHP_ADMIN_VALUE "memory_limit=256M"
fastcgi_param PHP_ADMIN_VALUE "memory_limit=256M";
I'm not sure, it's can or can't overwrite "disabled_functions" without remove from "php.ini", because normally php-fpm config can't overwrite disable_functions if it's exists.