php-src/sapi/pi3web
Rasmus Lerdorf 76a2d2538c Heads up! I have moved the headers_only and response_code checks out of
SAPI and down into the individual SAPI modules.  I have made the
appropriate changes in all the SAPI modules, but please verify these.
The reason for this change is that Apache sometimes will feed PHP
a request_method of GET but have r->header_only set to true.  This happens
in an ErrorDocument redirect.  In this same scenario we want to preserve
the status code as well instead of just overwriting it with a 200 and
losing this information.  For now the other sapi modules act exactly as
before since they probably do not make this distinction, and they may
not even have a valid response code this early in the request.
@ Fix HEAD request bug on an Apache ErrorDocument redirect and preserve
@ the status code across the redirect as well.  (Rasmus)
2000-08-02 22:48:45 +00:00
..
config.m4 Cosmetic cleanups 2000-06-18 15:30:55 +00:00
Makefile.in Added Pi3Web support 2000-06-17 12:06:09 +00:00
php.sym Added Pi3Web support 2000-06-17 12:06:09 +00:00
pi3web_sapi.c Heads up! I have moved the headers_only and response_code checks out of 2000-08-02 22:48:45 +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/