You can use custom php.ini settings for php-cgi, php-fcgi and suphp. Only mod_php does not support this. Thats also described in the manul like this:
Quote from the manual:
Please note that you can use this field only with Fast-CGI, CGI, or SuPHP - you cannot use it if you have enabled Mod-PHP for this web site.