php-src/sapi
Ben Mansell 4549e389bb Fix a bug with POST requests. If the Content-Type header wasn't present,
we were setting SG(request_info).content_type to NULL, instead of
an empty string. This was stopping PHP from processing the data.
2001-03-22 18:54:51 +00:00
..
aolserver - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
apache Fix off-by-one on config values set from Apache config 2001-03-13 18:39:38 +00:00
apache2filter httpd-2.0 cvs seems to be busted. I'm getting very strange backtraces 2001-02-28 14:19:15 +00:00
caudium - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
cgi Fix a bug with POST requests. If the Content-Type header wasn't present, 2001-03-22 18:54:51 +00:00
fastcgi Fix a bug with POST requests. If the Content-Type header wasn't present, 2001-03-22 18:48:51 +00:00
fhttpd - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
isapi Altered README.Zeus to give instructions on building FastCGI. 2001-03-19 11:23:57 +00:00
nsapi - Commit NSAPI patches. 2001-03-02 15:25:51 +00:00
phttpd - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
pi3web - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
roxen - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
servlet - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
thttpd Replace memcpy and sprintf with smart_strs. 2001-03-13 17:14:47 +00:00
Makefile.in Remove trailing empty lines 2000-05-01 22:38:42 +00:00
README Update. Someone should really write better docs. =) 2000-11-02 16:15:03 +00:00

Each SAPI backend has to contain:

config.m4: just like for extensions, this file contains
autoconf directives that end up in the configure script.  The
only difference is that the sapi config.m4 files are read in diversion
(output block) 2 instead of 3.  The sapi config.m4 files should set
two variables: PHP_SAPI (which sapi backend to choose) and INSTALL_IT
(the actions performed when "make install" is executed).  If they are
not specified, they will default to "cgi" and "do nothing,"
respectively.  Additionally, the following m4 macros can be used to
influence what is created during "make":

PHP_BUILD_SHARED    -- build shared target      $SAPI_SHARED
PHP_BUILD_STATIC    -- build static target      $SAPI_STATIC
PHP_BUILD_PROGRAM   -- build executable         $SAPI_PROGRAM

(paths relative to top build dir)