Re: [PHP] php as cgi script

2003-11-28 Thread Ivone Uribe
Thanks very much to all, Ok, I understand now.. so I need to install php as a cgi oppose to the module apache. Do you have some good page that can help me to configure and compile correctly the php as cgi? Thanks in advance, Kisses, Ivone --- Kelly Hallman <[EMAIL PROTECTED]> wrote: > On Fri, 28

Re: [PHP] php as cgi script

2003-11-28 Thread Kelly Hallman
On Fri, 28 Nov 2003, Nicole Lallande wrote: > Ivone -- > You are using a PERL invocation for php. PHP scripts begin the # sign is a comment in PERL - not in PHP. # also denotes a comment in PHP. Though #! is not a comment, per se. (However, if you feed the file directly to some interpreter lik

Re: [PHP] php as cgi script

2003-11-28 Thread Ivone Uribe
Hi Nicole! Thanks for your reply! I'm a little confused: Do I need to compile the php as cgi? I thought it was when you wanted to run php from commanline: as ./pruebacgi.php (Servers-CGI/Commandline) But in my case I want to call a php like that: http://xx.yy.zz/cgi-bin/pruebacgi.php and this

Re: [PHP] php as cgi script

2003-11-28 Thread Nicole Lallande
Ivone -- You are using a PERL invocation for php. PHP scripts begin with the # sign is a comment in PERL - not in PHP. To run php as cgi you need to install the php cgi version (as opposed to the apache modular installation.) That will allow you to run cgi scripts on the command line. http: