summaryrefslogtreecommitdiff
path: root/sapi/pi3web/README
blob: e7726edcf4cca97ca805f174a75848e0e629c630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
PHP7 Module
==========
This module requires PHP7 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 PHP7 source package from the
PHP CVS tree into the Pi3Web source directory called 'PHP7' first. Then
build PHP7 as Pi3Web module and after that build the Pi3Web PHP7 wrapper:

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

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

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

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

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

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