php-src/sapi
Stig Bakken 315f4f5658 @PHP 3 regression testing framework re-born (Stig)
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows.  See tests/README for how to write tests.  Added the PHP 3
tests and converted most of them.
2000-08-27 19:46:06 +00:00
..
aolserver Use SAPI' register_server_variables hook. 2000-08-25 09:59:38 +00:00
apache changed the output directorys from the windowsbuilds 2000-08-23 15:43:36 +00:00
cgi @PHP 3 regression testing framework re-born (Stig) 2000-08-27 19:46:06 +00:00
fhttpd Update the license with the new clause 6 2000-05-18 15:34:45 +00:00
isapi changed the output directorys from the windowsbuilds 2000-08-23 15:43:36 +00:00
nsapi changed the output directorys from the windowsbuilds 2000-08-23 15:43:36 +00:00
phttpd Heads up! I have moved the headers_only and response_code checks out of 2000-08-02 22:48:45 +00:00
pi3web Set file_handle.opened_path to NULL 2000-08-22 05:43:31 +00:00
roxen The status quo in PHP is that the current directory is initialized 2000-08-20 14:29:00 +00:00
servlet changed the output directorys from the windowsbuilds 2000-08-23 15:43:36 +00:00
thttpd Use request_uri as PHP_SELF. decodedurl also includes the query string. 2000-08-25 10:00:48 +00:00
Makefile.in Remove trailing empty lines 2000-05-01 22:38:42 +00:00
README Remove obsolete note about Makefile.am 2000-08-27 10:05:23 +00:00

Each SAPI backend has to contain:

config.m4: just like for extensions, this file contains
autoconf/automake 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      libs/libphp4.so
PHP_BUILD_STATIC    -- build static target      libs/libphp4.a
PHP_BUILD_PROGRAM   -- build executable         php

(paths relative to top build dir)