![]() is the port of the you should be connecting with. Then you restart the session and test it by connecting. To summarize, you have to catalog the node (server) and then catalog the database. After installation you have to configure the client from a Window's Command prompt. That article includes installation directions for other software in addition to IBM Data Server Client, so only pay attention to the ones which apply. It has an install wizard, so you can just follow the steps, but here is an IBM article on the process. These steps are based on the version I got from passport advantage. I haven't tried the version from here after getting it working though, so that one might work as well. Then I downloaded IBM Data Server Client from the passport advantage area. First I installed a Wamp stack from Bitnami, PHP 5.6.30 32bit. I got this working with just "IBM Data Server Client". Coupled with the fact that the smallest package is for 25 users makes it even more discouraging for small to mid-sized business (the primary customers for IBM i). Personally I think it is absurd they charge for the ability to remotely connect to the DB2 database on IBM i or Z/OS using a method other than JDBC or ODBC but charge nothing for LUW. There would be further differences between production and development, but could save some money. You could also setup a local DB2 database as well and copy any files over. However development of the API itself would still only be able to be done on the system AFAIK. If your DB2 database is on LUW then all you need is IBM Data Server Client which can be downloaded for free from here (requires IBM account though):Ī potential alternative is to serve an API from the IBM i which is consumed by a local workstation during development of an application other than the API. At one point they did offer a 5 license package, but as of now they no longer offer it. This comes out to about $152/user but for a small shop with only 2 or 3 developers this is effectively out of the question unfortunately. The downside is the smallest number of packages they currently offer is 25 users at ~$3,800. There are a few different versions, but for workstation development you would want DB2 Connect Enterprise Edition. If your DB2 database is on an IBM i or even Z/OS then the only way to do this is with DB2 Connect. This doesn't help in regards to db2_* functions in PHP. JDBC and ODBC support is free and it is typically shipped with other IBM software. I know name consistency isn't IBM's best attribute. I'm wondering if this is one of the two programs I need installed just by a different name. I've found a download for "IBM Data Server Client" which is behind a log in on IBM's site. I can find instructions on how to install each, but no download link. I have read that "IBM DB2 Universal Database client" and "IBM DB2 Connect" must be installed on the same machine running PHP here but am having trouble finding a download for either. PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Bitnami\wampstack-5.6.29-1\php\ext\php_ibm_db2.dll' - The specified module could not be found.īut the file C:\Bitnami\wampstack-5.6.29-1\php\ext\php_ibm_db2.dll does exist and has the same exact permissions as every other *.dll file in the directory (which has not been modified since the Wamp stack was installed). PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Bitnami\wampstack-5.6.29-1\php\ext\php_ibm_db2.dll' - The specified module could not be found. The only PHP error I see logged is when I start up the server (which is still successful - albeit no db2_* functions). I've also placed php_ibm_db2.dll in the location specified by theĮxtension_dir directive. ![]() Output of echo phpinfo() and successfully modifying it. I've confirmed the php.ini file is the one being used by checking the. ![]()
0 Comments
Leave a Reply. |