php&cgi scripts
"Roman Cherkesov" <[email protected]> Tue, 4 Nov 2003 12:13:51 +0200
| Newsgroups | gmane.network.mathopd |
|---|---|
| Message-ID | <001001c3a2bc$58e77120$3101a8c0@comp> |
hi people,
i am trying to run a simpliest PHP script.
<?php
echo "HTTP/1.1 200 OK\r\nContent-type: text/html\r\n\r\n";
echo "12321";
?>
and i always get 500 internal error and
Tue Nov 4 11:17:51 2003 [24861] *** Mathopd/1.5b9 starting
Tue Nov 4 11:17:56 2003 [24861] pipe_run: premature end of script headers
in logs.
External {
/usr/local/bin/php { php }
}
in config
Please help. Same thing with perl scripts, with or without phpstub. Just cant make it work.
Thank you in advance