Announcement

Collapse
No announcement yet.

Problems connecting to DB2

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems connecting to DB2

    Hi, Sorry for my english!

    When I try to connect to DB2 I have the following error: The extension of PHPibm_db2 must be enabled to access this database.

    The extension:
    extension=php_pdo.dll
    extension=php_pdo_ibm.dll
    extension=php_ibm_db2.dll
    in the php.ini is enabled.

    I asked ScriptCase support, they told me to install ZendServer and enable the extension for DB2, but that does not work.

    Someone could give me some idea to achieve scripcase connect to DB2?

    Additional Data:
    ScriptCase installed on windows server 2003
    I5/OS Version 6 - DB2

  • #2
    Is this while running scriptcase or after deployment? If you have installed SC from the windowspackage then it's odd you have to install ZendServer. My guess is that the DB2 datasource is not correctly installed. Have you checked http://php.net/manual/en/ref.pdo-ibm.php ?
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      I suggest you grab a tool first to see if you even can connect to DB2 (e.g. use the odbc db2 drivers to test it with).
      Or just use a simple script in php (see http://gugiaji.wordpress.com/2011/12...query-example/)

      Comment

      Working...
      X