Could use ODBC on Linux. I believe IBM has a packaged ODBC driver somewhere.

Could also make calls to XMLSERVICE which can be enabled for HTTP/HTTPS packets.

HTTP requests and XML responses.


Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802


message: 3
date: Thu, 17 Jan 2019 15:22:16 -0500
from: Brian <belstsrv@xxxxxxxxx>
subject: [WEB400] DB2 Connection from PHP On Linux

Hello All,

We are working on a simple web application that will be based on PHP but
not running natively on the i.

Currently the test system is Windows and the Client Access database
driver is being used to provide the connection to the backend database
(DB2 on the i).

I would like to move this application to our public facing Linux server.

Question is, what is the best/most simple way to connect to the DB2
database on the i from PHP on Linux?

I'm not the web dev, just the person trying to get the bread crumbs to
find the answer.? But, feel free to be technical if you like and we'll
figure it out.

Thanks all.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.