Skip to content

Commit df913fe

Browse files
author
vnkbabu
committed
Fix the issues related to db2_pconnect and boolean value fetching.
1 parent cb16114 commit df913fe

File tree

5 files changed

+6540
-6357
lines changed

5 files changed

+6540
-6357
lines changed

CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Developers Certificate of Origin 1.1
2+
3+
By making a contribution to this project, I certify that:
4+
5+
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
6+
7+
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
8+
9+
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
10+
11+
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

README

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Procedure to install the ibm_db2 extension in Linux or Unix:
2+
3+
1. Using the export command, set the environment variable IBM_DB_HOME:
4+
5+
$export IBM_DB_HOME=DB2HOME
6+
7+
The DB2HOME is the directory where the IBM Data Server product is installed. For example:
8+
9+
$ export IBM_DB_HOME=/home/db2inst1/sqllib
10+
11+
12+
2. Using one of the following three methods, install the ibm_db and pdo_ibm extensions
13+
- Use the pecl install command included in the PHP Extension Community Library (PECL).
14+
pecl install ibm_db2
15+
- Use the commands included in the source code:
16+
a) Extract the source archive
17+
b) Run the following commands from the extracted directory:
18+
19+
$ phpize --clean
20+
$ phpize
21+
$ ./configure
22+
$ make
23+
$ make install
24+
25+
3. Open the php.ini file in an editor of your choice. Edit the extension entry in the
26+
php.ini file in the <local_php_directory>/php/lib directory to reference the PHP driver:
27+
extension=ibm_db2.so
28+
29+
4. Ensure that the PHP driver can access the libdb2.so CLI driver file by
30+
setting the LD_LIBRARY_PATH variable for Linux and UNIX operating systems
31+
other than the AIX® operating system. For AIX operating system, you must set LIBPATH variable.
32+
33+
5. Optional: If the PHP application that is connecting to an IBM database server is running ini
34+
the HTTP server environment, add the LD_LIBRARY_PATH variable in the httpd.conf file.
35+
36+
Contributing:
37+
38+
See CONTRIBUTING.md
39+
40+
The developer sign-off should include the reference to the DCO in defect remarks(example below):
41+
DCO 1.1 Signed-off-by: Random J Developer <[email protected]>
42+
43+

0 commit comments

Comments
 (0)