forked from CloCkWeRX/sdo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
81 lines (51 loc) · 2.35 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
$Id: INSTALL 238265 2007-06-22 14:32:40Z mfp $
Overview
========
The SCA_SDO package comprises a PECL extension, called sdo, that provides a
Service Data Object (SDO) implementation and a set of php files that, together
with SDO, provide a Service Component Architecture (SCA) implementation for PHP.
Generally you can install the latest version of the package using the command
pecl install SCA_SDO
The details vary depending on whether you are using Linux or Windows, see below.
Once installed there are a set of examples that you can use to try out SCA and
SDO. The location of the examples depend on where you have PHP installed but
generally you will find them in.
php_install_dir\PEAR\tests\SCA_SDO\examples - on windows
/usr/local/lib/php/tests/SCA_SDO/examples - on linux
If you copy this directory to the document directory (htdocs) of your web server
you can access most of the examples by pointing your browser at the
examples/index.html file.
Linux installation steps
========================
You should be able to download and install SCA_SDO in one step as follows:
pear install SCA_SDO
(Depending on your php environment, you may need to be root to do this.)
Make sure that the module is loaded by PHP, by adding:
extension=sdo.so
to your php.ini file.
The PEAR installer will also install the SCA and Relational DAS php files into your
PEAR directory.
If you cannot use the PEAR installer, you can download the extension and build
it manually:
pear download SCA_SDO #downloads SCA_SDO-<version>.tgz
tar -xzf SCA_SDO-<version>.tgz
cd SCA_SDO-<version>
phpize
./configure
make
make install #you may need to be root for this step
To work with the very latest source, you'll need to extract it from cvs and
build manually as above.
If you have any problems, you are welcome to contact the maintainers.
Windows installation steps
==========================
The latest Windows binary for the sdo extension can
be downloaded to your extension directory from:
http://pecl4win.php.net/ext.php/php_sdo.dll
Make sure that the module is loaded by PHP, by adding:
extension=php_sdo.dll
to your php.ini file.
To install the SCA and Relational DAS PHP files in your PEAR directory, use:
pecl install -B SCA_SDO
The -B option here cause the command to miss out the compile step.
If you have any problems, you are welcome to contact the maintainers.