php-src/sapi/pi3web
2013-01-01 16:02:16 +08:00
..
config.m4 MFH: - Changed AC_ARG_* options to PHP_ARG_* options. 2007-07-11 23:20:37 +00:00
config.w32 - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
CREDITS 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
php5pi3web.dsp Replaced static server variables by function call and configurable list at the Pi3Web server side. 2004-12-05 09:52:25 +00:00
php.sym
pi3web_sapi.c Happy New Year~ 2013-01-01 16:02:16 +08:00
pi3web_sapi.h Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
README - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00

PHP5 Module
==========
This module requires PHP5 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 PHP5 source package from the
PHP CVS tree into the Pi3Web source directory called 'PHP5' first. Then
build PHP5 as Pi3Web module and after that build the Pi3Web PHP5 wrapper:

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

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

You must also checkout the TSRM and the ZEND module from the ZEND cvs tree
into the PHP5 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 PHP5 
=============
2.1 POSIX
---------
cd ./php5
./buildconf
./configure --with-pi3web
make

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

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

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