You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/12/06 05:56:17 UTC

svn commit: r354310 - /webservices/axis2/trunk/c/bindings/php/README

Author: samisa
Date: Mon Dec  5 20:56:08 2005
New Revision: 354310

URL: http://svn.apache.org/viewcvs?rev=354310&view=rev
Log:
Added readme with HOWTO for Linux

Added:
    webservices/axis2/trunk/c/bindings/php/README

Added: webservices/axis2/trunk/c/bindings/php/README
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/bindings/php/README?rev=354310&view=auto
==============================================================================
--- webservices/axis2/trunk/c/bindings/php/README (added)
+++ webservices/axis2/trunk/c/bindings/php/README Mon Dec  5 20:56:08 2005
@@ -0,0 +1,32 @@
+
+PHP binding on Linux
+====================
+
+To get the PHP binding working on Linux, please follow the steps given below.
+
+BTW this was tested with php-5.1.1 and php-5.0.4; they both worked.
+
+AXIS2C_HOME=where/your/axis2c/code/is/located
+PHP_HOME=where/your/php/code/is/located
+
+1. Set AXIS2C_HOME env variable to point to where the Axis2C source is
+2. Build Axis2C source by running $AXIS2C_HOME/build.sh
+   NOTE: you need autoconf 2.59 and automake 1.9.5 on your PATH to build Axis2C source
+3. Copy the AXIS2C_HOME/bindings/php/axis2 to PHP_HOME/ext
+4. cd to PHP_HOME and execute the following sequence of commands
+   NOTE: you need autoconf 2.13 and automake 1.5 on your PATH to build PHP source
+       ./buildconf --force
+       ./configure --with-axis2
+       make
+5. cd to PHP_HOME/ext/axis2/tests and run the following commands to see how PHP works with AXIOM
+   ../../../sapi/cli/php build_programatically.php
+   ../../../sapi/cli/php build_from_file.php
+
+
+You can have a look into the PHP scripts to see how the OM API is used in PHP.
+
+
+PHP binding on Windows
+======================
+
+TODO
\ No newline at end of file