Internal server error when compile php

software development

#1

hi i compile my own php/dev install fine , but when edit the htaccess to ue the new php appear a 500 server error and when read the error log appear this error

[Tue Oct 16 16:55:46 2007] [error] [client 62.81.80.6] Premature end
of script headers: /home/frony/mercado-negro.org/cgi-bin/php.cgi
[Tue Oct 16 16:55:46 2007] [error] [client ] File does not
exist: /home/xx/xx.org/internal_error.html
[Tue Oct 16 16:55:52 2007] [error] [client ] Premature end
of script headers: /home/xxx/xxx.org/cgi-bin/php.cgi

chmod htaccess to 740 and cgi file and folder to 755.
i read the post similar to my problem but any solution solve my problem i need to install apc
thanks