summaryrefslogtreecommitdiff
path: root/sapi/pi3web
diff options
context:
space:
mode:
authorHolger Zimmermann <holger@php.net>2000-06-17 12:06:09 +0000
committerHolger Zimmermann <holger@php.net>2000-06-17 12:06:09 +0000
commitda132274a4633082d9d416f0cf5cbb2f1ce37ece (patch)
treecd603a27cab5f733c17a56310b6682d65a16fbb2 /sapi/pi3web
parentd3d350e7ce5c2f7a738b2f47e7696de4d8d5ce1c (diff)
downloadphp-git-da132274a4633082d9d416f0cf5cbb2f1ce37ece.tar.gz
Added Pi3Web support
Diffstat (limited to 'sapi/pi3web')
-rw-r--r--sapi/pi3web/Makefile.in5
-rw-r--r--sapi/pi3web/README50
-rw-r--r--sapi/pi3web/config.m428
-rw-r--r--sapi/pi3web/php.sym0
4 files changed, 83 insertions, 0 deletions
diff --git a/sapi/pi3web/Makefile.in b/sapi/pi3web/Makefile.in
new file mode 100644
index 0000000000..0195beb789
--- /dev/null
+++ b/sapi/pi3web/Makefile.in
@@ -0,0 +1,5 @@
+
+LTLIBRARY_NAME = libsapi.la
+LTLIBRARY_SOURCES = pi3web_sapi.c
+
+include $(top_srcdir)/build/ltlib.mk
diff --git a/sapi/pi3web/README b/sapi/pi3web/README
new file mode 100644
index 0000000000..8d7e9dc274
--- /dev/null
+++ b/sapi/pi3web/README
@@ -0,0 +1,50 @@
+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/
diff --git a/sapi/pi3web/config.m4 b/sapi/pi3web/config.m4
new file mode 100644
index 0000000000..7aaf71513a
--- /dev/null
+++ b/sapi/pi3web/config.m4
@@ -0,0 +1,28 @@
+RESULT=no
+AC_MSG_CHECKING(for Pi3Web Support)
+AC_ARG_WITH(pi3web,
+[ --with-pi3web=DIR Build PHP as an module for use with Pi3Web.],
+[
+ if test "$withval" = "yes"; then
+ PI3PATH=../.. # the default
+ else
+ PI3PATH=$withval
+ fi
+ pwd
+ test -f "$PI3PATH/PiAPI/PiAPI.h" || AC_MSG_ERROR(Unable to find PiAPI.h in $PI3PATH/PiAPI)
+ PHP_BUILD_THREAD_SAFE
+ AC_DEFINE(WITH_PI3WEB,1,[ ])
+ AC_ADD_INCLUDE($PI3PATH/PiAPI)
+ AC_ADD_INCLUDE($PI3PATH/Pi2API)
+ AC_ADD_INCLUDE($PI3PATH/Pi3API)
+ AC_ADD_INCLUDE($PI3PATH/PHP4)
+ PHP_SAPI=pi3web
+ PHP_BUILD_SHARED
+ INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_SHARED $PI3PATH/bin/"
+ RESULT=yes
+])
+AC_MSG_RESULT($RESULT)
+
+dnl ## Local Variables:
+dnl ## tab-width: 4
+dnl ## End:
diff --git a/sapi/pi3web/php.sym b/sapi/pi3web/php.sym
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/sapi/pi3web/php.sym