downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Requirements> <Introduction
[edit] Last updated: Fri, 14 Jun 2013

view this page in

Installing/Configuring

Table of Contents



add a note add a note User Contributed Notes Installing/Configuring - [2 notes]
up
0
Morten Bjoernsvik
5 years ago
On linux I've found that I explicitly have to add the -c <path to php.ini> with the shell and
PHPIniDir="/etc/php.ini" in php5.conf or httpd.conf otherwise the ibm_db2.so is not loaded.

It doesn't help setting the --sysconfdir=/etc for configure when compiling.

% php -m | grep db2
% php -c /etc -m | grep db2
ibm_db2
up
0
juraj dot hrapko at gmail dot com
5 years ago
After  installation of ibm_db2 on Linux, you have to add into php.ini:
extension=/path_to_file/ibm_db2.so
ibm_db2.instance_name=instance

Dont forget the path to ibm_db2.so. As for me it does not work without the path.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites