thttpd and php

2006-12-12 Thread celejar
I want thttpd to do php. php can be built as an SAPI module for thttpd [0]; is this module available in Debian? I suppose I can always use the CGI interface (package php4-cgi) or build it myself if it isn't. I'm currently using lighttpd which officially supports php via fastcgi (through php4-cgi).

Re: Thttpd and PHP

2004-07-17 Thread Micha Feigin
On Fri, Jul 16, 2004 at 10:20:02PM -0500, Jacob S. wrote: > On Sat, 17 Jul 2004 05:08:27 +0300 > Micha Feigin <[EMAIL PROTECTED]> wrote: > > > On Sat, Jul 17, 2004 at 08:30:48AM +0800, John Summerfield wrote: > > > Jacob S. wrote: > > > > > > >I'm afraid I'm not familiar with thttpd, but here are

Re: Thttpd and PHP

2004-07-16 Thread Jacob S.
On Sat, 17 Jul 2004 05:08:27 +0300 Micha Feigin <[EMAIL PROTECTED]> wrote: > On Sat, Jul 17, 2004 at 08:30:48AM +0800, John Summerfield wrote: > > Jacob S. wrote: > > > > >I'm afraid I'm not familiar with thttpd, but here are some things I > > >would check. > > > > > >1) Is there anything in the

Re: Thttpd and PHP

2004-07-16 Thread Micha Feigin
On Sat, Jul 17, 2004 at 08:30:48AM +0800, John Summerfield wrote: > Jacob S. wrote: > > >I'm afraid I'm not familiar with thttpd, but here are some things I > >would check. > > > >1) Is there anything in the config file that tells thttpd what file > >extensions should be treated as .cgis? You wil

Re: Thttpd and PHP

2004-07-16 Thread John Summerfield
Jacob S. wrote: I'm afraid I'm not familiar with thttpd, but here are some things I would check. 1) Is there anything in the config file that tells thttpd what file extensions should be treated as .cgis? You will probably want to add php to this list. This might work:: cgipat=*.php -- Cheers J

Re: Thttpd and PHP

2004-07-16 Thread Jacob S.
On Fri, 16 Jul 2004 07:26:14 -0700 Marc Grégoire <[EMAIL PROTECTED]> wrote: > Has anyone successfully set up PHP to run with thttpd, using the > Debian packages? How about using PHP with another non-Apache > webserver? > > I have never used PHP before, so I may be making some very obvious > mi

Thttpd and PHP

2004-07-16 Thread Marc Grégoire
I would like to run a PHP script I found to generate some pages for my website. At present, the site is hosted on thttpd. Looking through dselect, there seem to be two implementations of PHP packaged: an Apache module, and php4-cgi which doesn't require Apache. So I installed php4-cgi, and th