It is designed to work with mod_php and not as cgi.
Actually no. It's possible to run any php application with apache mod_php or with any webserver and cgi/fcgi... So I've dropped need_httpd_cgi to need_httpd and I think we should let user chose correct configuration.
If you modified something it should be fixed not worksforme... Anyway, many packages have mod_php or similar USE flags to create proper dependency try. Look at viewvc for example,