I managed to get the custom INI to load, but its still loading other .ini files from the default location.
I created an fcgi wrapper that passed the ini value as a parameter. That worked. Now just these other ini's need to be loaded from the same dir as my custom ini.
The problem is the other .ini files are overriding the settings in my custom php.ini =/
I realize the problem now is that the php.fcgi was compiled with a custom path parameter. So that's a problem. I might have to recompile it using a different location or none at all. I'd hate to have to compile an fcgi for each domain =/
See http://bugs.php.net/bug.php?id=45114
Suppose you have a php5.fcgi and a /home/domain/fcgi-bin/php.ini you want to load
In your php5.fcgi change the exec line to sth like
(you may need to change the php-cgi executable path depending on where your distro has it. This example is for debian)
-n disables all php.ini files so that no other php file will load and -c sets the php file you want to load