I'm using Fast CGI with PHP, and it runs great except I just noticed it's not picking up the php ini path. It seems not to pick up the -c argument at all and says no configuration file is loaded when I do phpinfo()
AddHandler fcgid-script .php FCGIWrapper '/usr/bin/php-cgi -c /path/to/php.ini' .php
Oddly running from the command line it does work.
[tim@localhost ~] $ /usr/bin/php-cgi -c /path/to/php.ini -i | grep Loaded\ Configuration\ File <tr><td class="e">Loaded Configuration File </td><td class="v">/path/to/php.ini </td></tr>
Further details PHP 5.2.10 (cgi-fcgi) (built: Jul 20 2009 18:09:05)