Re: php cgi
On Sun, Oct 11, 2009 at 01:36:43PM +0800, Umarzuki Mochlis wrote:
> I want to know how to set up a debian server capable of running php cgi
> script and how to create and run cgi script. Where can I find articles on
> that?
> I had search for a few hours but still could not find a good one.
Any package that provides httpd-cgi will do the trick. Install the
package php5-cgi, and you're basically done. Just use CGI scripts with
the headers:
#!/usr/bin/php
(Not sure what extra switch is needed, if at all. Too lazy to search
right now).
However, why do you want to use PHP as CGI and not as a more efficient
option?
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
Reply to:
- Follow-Ups:
- Re: php cgi
- From: Umarzuki Mochlis <umarzuki@gmail.com>
- References:
- php cgi
- From: Umarzuki Mochlis <umarzuki@gmail.com>