simple answer - yes and possibly
I believe, anything that's run on a server to output stuff to a browser, can
be considered a CGI program
The second question is like asking - "Will COBOL ever become obsolete?" -
maybe, possibly, but there'll, no doubt, be someone, somewhere still using
it.
-O
On Sun, 17 Mar 2002, David Duong wrote:
> Can PHP be considered CGI?
Sometimes.
CGI is a standardized interface between web servers and backend
applications. PHP can communicate with web servers using that mechanism,
but it doesn't have to (depends on the web server in use).
I think the probl
I mean any time you hear the word CGI it is rarely referring to PHP, always
Perl (My most comfortable Web language). You'd think that CGI only refers
to Perl.
If you goto a site and download scripts under category CGI you would be
downloading Perl scripts, PHP has its own category.
Should CGI s
arch 18, 2002 3:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP CGI
I mean any time you hear the word CGI it is rarely referring to PHP, always
Perl (My most comfortable Web language). You'd think that CGI only refers
to Perl.
If you goto a site and download scripts under category CG
On Sun, 17 Mar 2002, David Duong wrote:
> I mean any time you hear the word CGI it is rarely referring to PHP, always
> Perl (My most comfortable Web language). You'd think that CGI only refers
> to Perl.
Back in the day, CGI repositories had a greater representation of programs
written in C an
> Who knows? It might. Its use is growing rapidly, and it's much easier to
> learn. A few years ago the prospect would have been unthinkable, due to
> the vastly greater supply of Perl CGI web apps and free libraries in
> circulation. These days the advantage is not so strong. And PHP is far
>
On Sunday, March 17, 2002, at 10:07 PM, David Duong wrote:
> Can PHP be considered CGI?
>
> Would PHP replace Perl as the main language of CGI?
Unless you are specifically referring to Common Gateway Interface, the
term "CGI" should be deprecated in favor of the term "server-side
scripting l
Hi Caspar,
@ 10:54:13 AM on 11/21/01, Caspar Kennerdale wrote:
> I have a script that when I execute via a browser retrieves information.
> Ultimately I want this automated. There has been mention on these lists
> about compliling php as cgi, which I think may help
By automated do you mean wi
automation issue
thanks
-Original Message-
From: Brian Clark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 16:04
To: PHP is not a drug.
Subject: Re: [PHP] php- cgi
Hi Caspar,
@ 10:54:13 AM on 11/21/01, Caspar Kennerdale wrote:
> I have a script that when I execute
Hi Caspar,
@ 11:11:25 AM on 11/21/01, Caspar Kennerdale wrote:
> yes ideally with cron- I know nothing about it really other than a
> little bit i've read- but my isp says they can execute a perl file
> and not a php file via cron.
ISP's can be strange about that stuff, but it's understandable
Thanks I'll give it a go
-Original Message-
From: Brian Clark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 16:26
To: PHP is not a drug.
Subject: Re: [PHP] php- cgi
Hi Caspar,
@ 11:11:25 AM on 11/21/01, Caspar Kennerdale wrote:
> yes ideally with cron- I know
Brian Clark wrote:
> way you'd configure a cgi-bin for perl-cgi scripts, but I don't know
> if running php as an apache module AND as a cgi is going to fly.
PHP as both CGI and Module on the same box works just fine.
In fact, using multiple mime types and file extensions, you can have as
many
At 03:54 PM 11/21/2001 +, Caspar Kennerdale wrote:
>I have a script that when I execute via a browser retrieves information.
>
>Ultimately I want this automated. There has been mention on these lists
>about compliling php as cgi, which I think may help
I saw the following somewhere and saved
The solution ended up being the need to re-compile php with the
"--enable-discard-path" configure option. This removed the
"#!/usr/local/bin/php" line from the top of the file.
Thanks for the feedback.
Tim
Tim Livers wrote:
> I have installed the CGI version of PHP and customized Apache's
> h
IF you dont specify --with-apache or --with-apxs configure options you will build the
CGI !
- Frank
>Ok, I give up... how do I build PHP as a CGI-Binary? I've spent two days
>searching the configure file for this.
>
>Julia
>
>--
>[ Julia Anne Case ] [Ships are safe inside the harb
do .php files work anywhere else?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Maroufski
> Sent: Thursday, March 22, 2001 5:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP/CGI Help
>
>
> Hi all,
> This is a tough one, wasn't able to fin
you also need to have
ScriptAlias /src "/home/src/"
Action application/x-httpd-php4 "php excicution file location"
AddType application/x-httpd-php4 .php
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Maroufski
> Sent: Thursday, Mar
Hi Peter,
Thanks for all the help. I actually started playing with what you told
me, and then did some trial-and-error testing
and found out that I didn't need ScriptAlias /src "/home/src/" at all.The
.php3 files ran when I removed it, then I added these
two lines to get the .pl and .cgi
Don't use safe-mode in your suExec PHP CGI configure.
suExec pretty much does everything safe mode does anyway, and more.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/vo
The php.ini file has safe-mode = Off so I don't think that is the problem.
Suexec is checking to see that the php binary has the same uid/gid as the
virtual host user running the php script. Since the php binary is owned
by the web server user and the script is owned by one of the virtual hos
It's not you. I just built a bare cgi version of php, nothing but
'./configure' and got the same result.
I used this simple script to be sure I was in fact running the cgi binary
and it showed I was.
info.cgi
#!/usr/local/bin/php
I got the correct info page, but with the #!/usr/local/bin/php a
Nope it fails when he removes the line. It fails on me as well, I tried
it. Also note I did say that the ouput of phpinfo() was correct. The
output showed the page had been handled by the php cgi binary, not the
module.
The module has a large config line and several extensions
configured in, the
install
<[EMAIL PROTECTED]>
Sent: Saturday, October 20, 2001 6:05 PM
Subject: [PHP-INST] Re: [PHP] PHP/CGI problem: #!/path/php at top of CGI
script appears in output
> It's not you. I just built a bare cgi version of php, nothing but
> './configure' and got the same
23 matches
Mail list logo