RE: [PHP] Problem with PHP as CGI
| From: | ..s.c.o.t.t.. | Date: | Thu, 24 May 2001 09:19:35 +0000 |
| Subject: | RE: [PHP] Problem with PHP as CGI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54166@lists.php.net to get a copy of this message | ||
im not sure that i understand the question, but the way
i've got my apache/PHP configured, i dont ever see
the actual path to the PHP binary.....
what type of problem are you having ??
PS: i never use shebang lines in my PHP scripts;
i have apache configured to handle *.php files
as PHP code.
> -----Original Message-----
> From: midget2000x [mailto:midget@elaris.com]
> Sent: Wednesday, May 23, 2001 20:33
> To: Stuart J. Browne; php-general@lists.php.net
> Subject: Re: [PHP] Problem with PHP as CGI
>
>
> This is not an answer, but a further question on this subject. Do you (or
> anybody) know of a way to keep the path to PHP from showing up when the PHP CGI
> script is hit via HTTP?
>
> On Wed, 23 May 2001, Stuart J. Browne wrote:
> > "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
> >
> >
> >
> > --
> > 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
> --
> -----------
> providing the finest in midget technology
>
> --
> 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
>