Re: CGI-executable Apache

From: Date: Mon, 05 Jun 2000 16:39:28 +0000
Subject: Re: CGI-executable Apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1054@lists.php.net to get a copy of this message
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. > > >

« previous php.general (#1054) next »