Re: CGI-executable Apache
| From: | Victor | Date: | Mon, 05 Jun 2000 18:08:00 +0000 |
| Subject: | Re: CGI-executable Apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1071@lists.php.net to get a copy of this message | ||
Well, it still does not work. The cgi version of php just doesn't seem to
get results out properly. Is there some switch I can set for more info/error
messages?
My test.cgi works from command line when I am logged in and webadmin and
when I am logged in as nobody. However, when I call it from apache, it says
"Premature end of script headers: /data/www/stonecare/cgi-bin/test.cgi"
Any input still helpful. here is my test.cgi:
#!/opt/apache/bin/php
<?php print "Hello World\n"; ?>
Thanks