All I want to do (initially) is the following:
<?php
phpinfo();
?>
I have two different web servers running. If I try to open the above in firefox, Under any filename, with the :80 port from apache, it merely echoes the above.
If I try to open the above, as any filename, from a python twisted web server on port :8888, I get a http 500 error (CGI Script Error
Premature end of script headers.)!
I am running Gentoo linux. I have installed and re-installed cgi different ways. Anything other file, not using CGI, is served up as expected with both web servers.