What do I need to do to make php run from the cgi-bin
Everything I try gives me an error 500 "premature End of Script Headers"
It is running (trying to run) on a virtual server. The file owner is the
same uid as the site admin and it is chmoded to 775
The name of the file is test.php for the contents I have tried:
---test.php----
#! /usr/bin/php
<?php
echo "test";
?>
----end--------
and:
----test.php-------
<?php
echo "test.php";
?>
----end--------
Everything I try gives me an error 500 "premature End of Script Headers"
It is running (trying to run) on a virtual server. The file owner is the
same uid as the site admin and it is chmoded to 775
The name of the file is test.php for the contents I have tried:
---test.php----
#! /usr/bin/php
<?php
echo "test";
?>
----end--------
and:
----test.php-------
<?php
echo "test.php";
?>
----end--------
Comment