I downladed the latest PHP 5.292 windows and DB2 driver is not there However there is an ODBC driver and in the description says odbc for IBM DB2 & unix ODBC .
I downloaded The 5.2.6 version of PHP and DB2 driver is there will try it and tell you.
am eager to test this product .
I have the same problem ... The latest version of PHP (PHP installer 5.2.9-2) has no extension ibm_db2 ... Where is it?
PHP installer 5.2.9-x NO
PHP installer 5.2.8-x NO
PHP installer 5.2.6-x YES
Who ever was running pecl4win (the PHP extension build server) shut it down about 8 months ago, since that time there have been no PHP extension built and distributed with the PHP installer. The IBM team who builds the ibm_db2 driver does not have approval or a location where they can distribute a build externally. We have been working with them to provide a location and get approval from our end so that we can host windows binaries file until the PHP team works out a replacement system. At this time we a just waiting for a few documents from the driver team to get final legal approval to do this.
Older version of the IBM_DB2 driver are distributed with DB2 as well as the CLI package available here:
We are working on it and I know it is a big pain point.
Thanks Matthew, but...
PHP installer 5.2.6-x (with ibm_db2 extension)
and I followed the instructions in the book DB2MCWinSetupInstructions.pdf and the error message I get is:
Internet Explorer -> http://localhost/db2mc/index.php
"The ibm_db2 PHP module was not found"
also made instrcuciones of the Troubleshooting and the error is the same:
You can help me ???
OS: Windows Server 2003
E:\Program Files\Apache Software Foundation\Apache2.2\htdocs\db2mc
I belong to the group administrator of the system and the APACHE service run with my account
PHP should set up everything fine. It is possible that apaches has not been restarted or it is using a different php.ini file.
Type php -m on the command line you should see ibm_db2 there if you do you just need to restart apache.
if all that works create a test.php file and place within it the following:
and call that from you web server. If you do not see the ibm_db2 driver in there check which php.ini file you are using and then look in there to ensure the extension_dir is set properly and the extension is enabled in there. If you make any changes to your php.ini file you will need to restart apache before these changes are picked up.
Otherwise I will have to think about it and I will get back to you tomorrow morning.
The IBM DB2 driver for PHP is now available on our site:
I have had the very same problem and I solved it copying
And ONLY THEN php -m returned this:
C:\Documents and Settings\PJBR>php -m
And by restarting Apache and refreshing the browser I managed to see finally it recognizes the PHP DB2 driver.
Hope this helps.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.