PHP Doku:: Installation/Konfiguration - ibm-db2.setup.html

Verlauf / Chronik / History: (4) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenIBM DB2, Cloudscape and Apache DerbyInstallation/Konfiguration

Ein Service von Reinhard Neidl - Webprogrammierung.

IBM DB2, Cloudscape and Apache Derby

<<Einführung

Anforderungen>>


UnterSeiten:

Installation/Konfiguration

Inhaltsverzeichnis


2 BenutzerBeiträge:
- Beiträge aktualisieren...
Morten Bjoernsvik
7.05.2008 9:07
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
juraj dot hrapko at gmail dot com
27.04.2008 20:36
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.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)