Hi ,
I am too trying with the same github but not working out can some one please able to help me?
PS C:\Users\db2admin.DESKTOP-AK10ES5.000\Desktop\sample> php -f .\db2conn.php
PHP Warning: PHP Startup: Unable to load dynamic library 'php_ibm_db2.dll' (tried: ext\php_ibm_db2.dll (The specified module could not be found.), ext\php_php_ibm_db2.dll.dll (The specified module could not be found.)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'php_ibm_db2.dll' (tried: ext\php_ibm_db2.dll (The specified module could
not be found.), ext\php_php_ibm_db2.dll.dll (The specified module could not be found.)) in Unknown on line 0
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
PHP Warning: odbc_connect(): SQL error: [IBM][CLI Driver] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "127.0.0.1". Communication function detecting the error: "connect". Protocol specific error code(s): "10061", "*", "*". SQLSTATE=08001
, SQL state 08001 in SQLConnect in C:\Users\db2admin.DESKTOP-AK10ES5.000\Desktop\sample\db2conn.php on line 33
Warning: odbc_connect(): SQL error: [IBM][CLI Driver] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "127.0.0.1". Communication function detecting the error: "connect". Protocol specific error code(s): "10061", "*", "*". SQLSTATE=08001
, SQL state 08001 in SQLConnect in C:\Users\db2admin.DESKTOP-AK10ES5.000\Desktop\sample\db2conn.php on line 33
Thanjs and Regards
Krishna
------------------------------
Narasimha Nannuri
------------------------------
Original Message:
Sent: Thu July 02, 2020 02:54 AM
From: Gagan Kakkar
Subject: php_ibm_db2 & php_pdo_ibm drivers for PHP 7.4.5
Hi,
I am looking for php_ibm_db2 & php_pdo_ibm drivers for PHP 7.4.5 running on Windows 10 (64 bit).
Tried the one posted here but they are not working: https://github.com/ibmdb/php_ibm_db2/tree/master/PHP%207.4.x/x64/TS
Getting this error message:
PHP Startup: Unable to load dynamic library 'ibm_db2' (tried: C:\\xampp\\php\\ext\\ibm_db2 (The specified module could not be found.), C:\\xampp\\php\\ext\\php_ibm_db2.dll (%1 is not a valid Win32 application.)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_ibm' (tried: C:\\xampp\\php\\ext\\pdo_ibm (The specified module could not be found.), C:\\xampp\\php\\ext\\php_pdo_ibm.dll (%1 is not a valid Win32 application.)) in Unknown on line 0
Thanks.
------------------------------
Gagan Kakkar
------------------------------
#Db2