Re: Problem with PHP as CGI

From: Date: Thu, 24 May 2001 04:06:08 +0000
Subject: Re: Problem with PHP as CGI
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54155@lists.php.net to get a copy of this message
"Richard Kurth" <rkurth@pacifier.com> wrote in message news:10170849955.20010524073149@pacifier.com... > > I have php config as a cgi and I put this at the top of my script > > #!/usr/local/bin/php -q > > when ever I run this script at root in > telnet I get this message below. > > Error in argument 1, char 3: option not found > Error in argument 1, char 3: option not found Code snippett would help, but it sounds as if the first line (after the hash-bang) is NOT <?. I've found that oddities occur without that as the first line of your script.. bkx

« previous php.general (#54155) next »