Hi List

I'am trying to run php as CGI module.I'am using RedHat 7.1. My Script alias directory 
is /var/www/cgi-bin.
Whever I want to run a php script the server reports "internal server error 500".In 
the error log it says "premature end of script headers". Whereas when I run a perl 
script it runs quite well.I have also enabled suexec

The code in the file (which I had named index.php) is as follows

#!/usr/bin/php
<?
print "<html><body>hello world</body</html>";
?> 


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to