README 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. PHP5 Module
  2. ==========
  3. This module requires PHP5 as thread safe shared library. Have a look
  4. into the INSTALL file which accompanies that distribution.
  5. If you distribute this software bundled with the PHP software in source
  6. or binary form, then you must adhere to the PHP copyright conditions -
  7. the terms are reasonable.
  8. You should have checked out and built the PHP5 source package from the
  9. PHP CVS tree into the Pi3Web source directory called 'PHP5' first. Then
  10. build PHP5 as Pi3Web module and after that build the Pi3Web PHP5 wrapper:
  11. 1. Checkout PHP5
  12. ================
  13. cvs -d :pserver:cvsread@cvs.php.net:/repository login
  14. The required password is phpfi
  15. cvs -z3 -d :pserver:cvsread@cvs.php.net:/repository co php5
  16. You must also checkout the TSRM and the ZEND module from the ZEND cvs tree
  17. into the PHP5 root directory
  18. cvs -d :pserver:cvsread@cvs.zend.com:/repository login
  19. The required password is zend
  20. cvs -z3 -d :pserver:cvsread@cvs.zend.com:/repository co Zend TSRM
  21. 2. Build PHP5
  22. =============
  23. 2.1 POSIX
  24. ---------
  25. cd ./php5
  26. ./buildconf
  27. ./configure --with-pi3web
  28. make
  29. 2.2 Win32
  30. ---------
  31. other required downloads from the php website
  32. - bison 1.25
  33. - bindlib32
  34. - number4.tar.gz
  35. nmake php5dllts.mak
  36. 3. Build Pi3Web PHP5 wrapper
  37. ============================
  38. Run make in the Pi3Web /Source/PHP5 directory.
  39. For further information refer to http://www.php.net/version4/