PHP/Linux to AS/400-db2

后端 未结 4 1270
轮回少年
轮回少年 2020-12-09 22:41

I am trying to get php on Linux Centos server access as/400 (iSeries) db2 database.

I am using this IBM guide as much as possible, (though we could not get GUI confi

4条回答
  •  清歌不尽
    2020-12-09 23:38

    You need to use ODBC Source Name in odbc_connect() function, not the server IP. In your example AS400 is the name between brackets at the top of odbc.ini file.

提交回复
热议问题