Fix test case for cookies with php >= 5
[plcapi.git] / INSTALL
1 XMLRPC for PHP
2
3 Requirements
4 ------------
5
6 The following requirements should be met prior to using 'XMLRPC for PHP': 
7 . PHP 5.1.0 or later
8 . the php "curl" extension is needed if you wish to use SSL or HTTP 1.1 to
9   communicate with remote servers
10
11 The php "xmlrpc" native extension is not required, but if it is installed,
12 there will be no interference with the operation of this library.
13
14
15 Installation instructions
16 -------------------------
17
18 Installation of the library is quite easy:
19
20 1. copy the contents of the lib/ folder to any location required by your
21    application (it can be inside the web server root or not).
22
23 2. make sure your app can include those files. This can be achieved by setting
24    the PHP include path, either in the php.ini file or directly in the php code
25    of your application, using the 'set_include_path' function
26
27
28 Example of php code allowing an application to import the library:
29
30 set_include_path(get_include_path() . PATH_SEPARATOR . '/path/to/phpxmlrpc/lib/');
31 require_once( 'xmlrpc.inc' );
32 require_once( 'xmlrpcs.inc' );
33 require_once( 'xmlrpc_wrappers.inc' );
34
35
36 Please note that usage of the 'make' command for installation of the library is
37 not recommended, as it will generally involve editing of the makefile for a
38 succesfull run.