root/trunk/midgard/apis/soap/INSTALL

Revision 7045, 0.9 kB (checked in by indeyets, 5 years ago)

uptodating text-files

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 Installation Instruction
2
3 1. Install Midgard :)
4
5 2. Install the SOAP-Module for PHP from PEAR (not PECL)
6
7    $ pear install SOAP
8
9    If you have problems to install it this way do:
10    $ pear download http://pear.php.net/get/SOAP
11
12    $ # with gnutar
13    $ tar xvzf SOAP*.tgz -C $PHP_LIB_DIR
14
15    $ # without gnutar
16    $ cp SOAP*.tgz $PHP_LIB_DIR
17    $ cd $PHP_LIB_DIR
18    $ tar xvzf SOAP*.tgz
19
20 3. Import soap.xml
21
22    $ repligard -i soap.xml
23
24 4. Configure the host (prefix and name) for SOAP
25    Defaults are:
26    - name => localhost
27    - prefix => /soap
28
29 4a. Tune
30
31    Please make sure that NO WHITESPACES etc. exists in your midgard-root.php
32    and other pages. (PEAR/SOAP tries to set HTTP-headers)
33
34    Make sure that "always_populate_raw_post_data" is "On" in your php.ini.
35
36 5. Run examples
37    
38    $ cd example
39    $ php mgd_client.php
40
41 5a. Run test cases
42    $ cd example/perl
43    $ less README
44
45 6. Give feedback :)
46    to dev@midgard-project.org
Note: See TracBrowser for help on using the browser.