Custom Install of PHP: Premature end of script hea

Recently I ran the script to do a custom install of PHP5. My end goal is to add eaccelerator.

The script ran fine (though it did warn of clock skew at the very end.) php.cgi was built.

I also added
Options +ExecCGI
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi

to my .htaccess file

However, whenever I try to go to, I get Internal Server Error 500.

And when I look in error.log, I see:
[Fri Jun 20 08:43:32 2008] [error] [client wxyz] Premature end of script headers: php.cgi

Any ideas on how to troubleshoot this?