RE: [PHP-GENERAL] CGI-executable Apache
| From: | Liz Kimber | Date: | Mon, 05 Jun 2000 16:43:02 +0000 |
| Subject: | RE: [PHP-GENERAL] CGI-executable Apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1056@lists.php.net to get a copy of this message | ||
I ave problems with CGI ones too, only mine comes back with "Input file not
specified" but works very nicely from command line.. pointers would be
gratefully recieved.
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@php.net]
> Sent: 05 June 2000 17:39
> To: Victor
> Cc: PHP Digest Mailing List
> Subject: Re: [PHP-GENERAL] CGI-executable Apache
>
>
> And what does it print when you run it from the command line? And what is
> in your error_log?
>
> On Mon, 5 Jun 2000, Victor wrote:
>
> > Well, here is my test.cgi
> >
> > #!/usr/local/apache/bin/php
> > <?php print "Hello World\n"; ?>
> >
> > Here is the error that is generated:
> > Premature end of script headers:
> /usr/local/www/virtual_site/cgi-bin/test.cgi
> >
> > Rasmus Lerdorf wrote:
> >
> > > Set it up just like you would a Perl cgi.
> >
> >
> >
>
>
> --
> 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
>