Re: CGI-executable Apache
| From: | Victor | Date: | Tue, 06 Jun 2000 21:10:11 +0000 |
| Subject: | Re: CGI-executable Apache | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1149@lists.php.net to get a copy of this message | ||
-q is used for command line. I need it for Web. Something is wrong in those
headers. I think it's the security directives during compile, but I don't know.
Anyone have ideas?
Kevin Beckford wrote:
> > 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net