• <small id='bZL6p'></small><noframes id='bZL6p'>

  • <tfoot id='bZL6p'></tfoot>

      <bdo id='bZL6p'></bdo><ul id='bZL6p'></ul>
    <legend id='bZL6p'><style id='bZL6p'><dir id='bZL6p'><q id='bZL6p'></q></dir></style></legend>

      1. <i id='bZL6p'><tr id='bZL6p'><dt id='bZL6p'><q id='bZL6p'><span id='bZL6p'><b id='bZL6p'><form id='bZL6p'><ins id='bZL6p'></ins><ul id='bZL6p'></ul><sub id='bZL6p'></sub></form><legend id='bZL6p'></legend><bdo id='bZL6p'><pre id='bZL6p'><center id='bZL6p'></center></pre></bdo></b><th id='bZL6p'></th></span></q></dt></tr></i><div id='bZL6p'><tfoot id='bZL6p'></tfoot><dl id='bZL6p'><fieldset id='bZL6p'></fieldset></dl></div>
      2. 将 PHP 连接到 IBM i (AS/400)

        Connect PHP to IBM i (AS/400)(将 PHP 连接到 IBM i (AS/400))

            <tbody id='nxGaB'></tbody>
              <tfoot id='nxGaB'></tfoot>
              • <small id='nxGaB'></small><noframes id='nxGaB'>

              • <i id='nxGaB'><tr id='nxGaB'><dt id='nxGaB'><q id='nxGaB'><span id='nxGaB'><b id='nxGaB'><form id='nxGaB'><ins id='nxGaB'></ins><ul id='nxGaB'></ul><sub id='nxGaB'></sub></form><legend id='nxGaB'></legend><bdo id='nxGaB'><pre id='nxGaB'><center id='nxGaB'></center></pre></bdo></b><th id='nxGaB'></th></span></q></dt></tr></i><div id='nxGaB'><tfoot id='nxGaB'></tfoot><dl id='nxGaB'><fieldset id='nxGaB'></fieldset></dl></div>
                • <bdo id='nxGaB'></bdo><ul id='nxGaB'></ul>

                  <legend id='nxGaB'><style id='nxGaB'><dir id='nxGaB'><q id='nxGaB'></q></dir></style></legend>
                  本文介绍了将 PHP 连接到 IBM i (AS/400)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个即将进行的项目,我需要将我们的网站 (PHP5/Apache 1.3/OpenBSD 4.1) 连接到我们在 OS400 V5R3 的 iSeries 上运行的后端系统,以便我可以访问存储在那里的一些表.我做了一些检查,但遇到了一些障碍.

                  I've got an upcoming project wherein I will need to connect our website (PHP5/Apache 1.3/OpenBSD 4.1) to our back-end system running on an iSeries with OS400 V5R3 so that I can access some tables stored there. I've done some checking around but am running into some roadblocks.

                  据我所知,IBM 的 DB2 扩展和 DB2 软件只能在 Linux 下运行.我尝试使用 IBM 的所有软件编译扩展,甚至尝试了他们的预编译 ibm_db2 扩展,但没有成功.IBM 只支持 Linux,所以我在内核中打开了 Linux 仿真,但这似乎没有任何帮助.

                  From what I've seen the DB2 extensions and DB2 software from IBM only run under Linux. I've tried compiling the extensions with all the software from IBM and even tried their precompiled ibm_db2 extension with no luck. IBM only supports Linux so I turned on the Linux emulation in the kernel but that didn't seem to help anything.

                  如果有人遇到过让一切都在 OpenBSD 下以本机方式运行,那就太好了,但我想我可能需要做的是设置第二台运行 CentOS 并安装了 DB2 的服务器(很可能通过 ZendCore for IBM,因为看起来为我做这一切)和驱动程序,这样我就可以设置一个小型事务服务器,我可以对它进行发布并获得我需要的 DB2 数据的 JSON 表示.

                  If anyone has run across getting everything to run natively under OpenBSD that would be great, but what I think I may have to do is setting up a second server running CentOS with DB2 installed (most likely via ZendCore for IBM since it seems to do all this for me) and the driver so that I can set up a small transaction server that I can post against and get a JSON representation of the DB2 data that I need.

                  第二个选项是不是有点过头了,还是其他人有更好的想法?

                  Does the second option seem overkill or does anyone else have any better ideas?

                  推荐答案

                  你有没有看过使用 unixODBC?如果我没记错的话,它支持 IBM DB2 并在 OpenBSD 上编译.查看 http://www.php.net/odbc 了解有关 PHP 方面的更多信息.

                  Have you looked at connecting to the server using unixODBC? If I remember correctly it has support for IBM DB2 and compiles on OpenBSD. Check out http://www.php.net/odbc for more information regarding the PHP side.

                  如果您不能让它工作,那么您可以选择在 Linux 服务器上设置 Web 服务.

                  If you can't get that to work, the option to setup a web service on a Linux server may be all you can do.

                  这篇关于将 PHP 连接到 IBM i (AS/400)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)

                  <i id='o1Q1x'><tr id='o1Q1x'><dt id='o1Q1x'><q id='o1Q1x'><span id='o1Q1x'><b id='o1Q1x'><form id='o1Q1x'><ins id='o1Q1x'></ins><ul id='o1Q1x'></ul><sub id='o1Q1x'></sub></form><legend id='o1Q1x'></legend><bdo id='o1Q1x'><pre id='o1Q1x'><center id='o1Q1x'></center></pre></bdo></b><th id='o1Q1x'></th></span></q></dt></tr></i><div id='o1Q1x'><tfoot id='o1Q1x'></tfoot><dl id='o1Q1x'><fieldset id='o1Q1x'></fieldset></dl></div>
                • <legend id='o1Q1x'><style id='o1Q1x'><dir id='o1Q1x'><q id='o1Q1x'></q></dir></style></legend>
                • <tfoot id='o1Q1x'></tfoot>

                          <tbody id='o1Q1x'></tbody>
                        • <small id='o1Q1x'></small><noframes id='o1Q1x'>

                            <bdo id='o1Q1x'></bdo><ul id='o1Q1x'></ul>