php-src/sapi/pi3web
Sascha Schumann 9c876ea01a Add sapi_header_op interface which supersedes the sapi_add_header and _ex
calls.

Revert the change to the sapi_add_header_ex interface.

Fix various bugs:

1.  header("HTTP/1.0 306 foo");
    header("Location: absolute-uri");

    did not work in combination with several SAPI modules, because
    http_status_line was never properly reset.  And thus, all SAPI
    modules which looked at http_status_line ignored the changed
    http_response_code.

2.  The CGI SAPI did not send out the HTTP status line at all, if
    http_status_line had not been set explicitly by calling
    header("HTTP/1.0 200 foo");
2002-07-03 10:42:31 +00:00
..
config.m4 Please welcome the new build system. 2002-03-07 14:20:02 +00:00
CREDITS 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
php4pi3web.dsp add/fix pi3web dsp 2001-04-28 18:46:56 +00:00
php.sym Added Pi3Web support 2000-06-17 12:06:09 +00:00
pi3web_sapi.c Add sapi_header_op interface which supersedes the sapi_add_header and _ex 2002-07-03 10:42:31 +00:00
pi3web_sapi.h Fixed functionality to read in server variables. 2002-02-23 15:17:00 +00:00
README Added Pi3Web support 2000-06-17 12:06:09 +00:00

PHP4 Module
==========
This module requires PHP4 as thread safe shared library. Have a look
into the INSTALL file which accompanies that distribution.

If you distribute this software bundled with the PHP software in source
or binary form, then you must adhere to the PHP copyright conditions -
the terms are reasonable.

You should have checked out and built the PHP4 source package from the
PHP CVS tree into the Pi3Web source directory called 'PHP4' first. Then
build PHP4 as Pi3Web module and after that build the Pi3Web PHP4 wrapper:

1. Checkout PHP4
================
cvs -d :pserver:cvsread@cvs.php.net:/repository login
The required password is phpfi

cvs -z3 -d :pserver:cvsread@cvs.php.net:/repository co php4

You must also checkout the TSRM and the ZEND module from the ZEND cvs tree
into the PHP4 root directory

cvs -d :pserver:cvsread@cvs.zend.com:/repository login
The required password is zend

cvs -z3 -d :pserver:cvsread@cvs.zend.com:/repository co Zend TSRM

2. Build PHP4 
=============
2.1 POSIX
---------
cd ./php4
./buildconf
./configure --with-pi3web
make

2.2 Win32
---------
other required downloads from the php website
  - bison 1.25
  - bindlib32
  - number4.tar.gz
nmake php4dllts.mak

3. Build Pi3Web PHP4 wrapper
============================
Run make in the Pi3Web /Source/PHP4 directory.

For further information refer to http://www.php.net/version4/