Re: CGI-executable Apache
| From: | Kevin Beckford | Date: | Tue, 06 Jun 2000 20:55:40 +0000 |
| Subject: | Re: CGI-executable Apache | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1147@lists.php.net to get a copy of this message | ||
> I try to run this (saved in test.cgi)
>
> #!/usr/local/bin/php
> <? print "hello world\n"; ?>
> Same script, written like this
the first line should be #!/usr/local/bin/php -q
That will suppress the headers sent. Try that although I am unsure - I use cgi
php in the shell, and the module on the web