You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Sascha Schumann e4b2f8351e thttpd/PHP verified to run IMP 2.2.0 without any hitches. 26 years ago
..
Makefile.in Fix building thttpd SAPI module. 26 years ago
README thttpd/PHP verified to run IMP 2.2.0 without any hitches. 26 years ago
config.m4 Fix building thttpd SAPI module. 26 years ago
php.sym Add SAPI module for thttpd server. Quote from the README: 26 years ago
php_thttpd.h Update the license with the new clause 6 26 years ago
stub.c Fix building thttpd SAPI module. 26 years ago
thttpd.c Fix zend_fiel_handle handling. Should fix URL include 26 years ago
thttpd_patch Move thttpd_php_init() call to httpd_initialize(). 26 years ago

README

README FOR THTTPD MODULE (by Sascha Schumann)        
($Date$)

This is a SAPI module for PHP 4.0 supporting thttpd, the tiny,
turbo, throttling HTTP server by Jef Poskanzer.

The module contains a patch against version 2.19 of thttpd. The patch
adds hooks to thttpd to call PHP, if a filename matches *.php. This
patch will be applied when you install PHP.

This is a functional and stable module (it runs a large application
like IMP 2.2.0 without any problems). Its original intention was to
demonstrate the ability of PHP to work in every web server environment.

REQUIRED DOWNLOADS

1. thttpd 2.xx

Full Distribution:
http://www.acme.com/software/thttpd/

2. PHP 4.0.x

Download:
http://www.php.net/

Snapshots from CVS:
http://snaps.php.net/


BUILD INSTRUCTIONS

1. Extract software packages

$ gunzip -c thttpd-2.xx.tar.gz | tar xf -
$ gunzip -c php-*.tar.gz | tar xf -

2. Prepare PHP

$ cd php-*
$ ./configure \
--with-thttpd=../thttpd-2.xx \
<further PHP options>
$ make install
$ cd ..

You can see the list of valid PHP options by executing

$ ./configure --help

3. Configure, compile, install thttpd

Now follow the thttpd instructions. The Makefile template of
thttpd was changed to automatically use the components
required by PHP.