PHP 与 ODBC 到远程数据库,驱动程序需要在哪里,我可以在连接上删除 SSL 吗?

发布于 2024-09-18 18:34:32 字数 221 浏览 4 评论 0原文

我需要从 Web LAMP (PHP) 环境连接到服务器上具有 ODBC 驱动程序的远程 Navision 安装。

Web 服务器是否也需要本地的 ODBC 驱动程序?或者 PHP 是否使用其自己的本地驱动程序连接到 Navision 服务器环境?

另外,为了安全起见,我可以在此连接上删除 SSL - 如果是的话,它会被删除到哪个组件上? ODBC 连接?

任何帮助表示赞赏。

I need to connect from a web LAMP (PHP) environment to a remote Navision installation which has ODBC drivers on the server.

Does the web server need the ODBC drivers on it locally as well? Or does PHP connect to the Navision server environment with it's own local drivers?

Also, can I drop SSL on this connection for security - if so which component is it dropped onto? The ODBC connection?

Any help appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

粉红×色少女 2024-09-25 18:34:32

这取决于您连接到 Navision 的方式。 Navision 是否提供某种 API 供您访问(Web 服务或其他)?在这种情况下,LAMP 服务器可以使用该 API。

如果需要访问Navision背后的数据库,那么PHP就需要访问该数据库。通过 ODBC 或直接(如果可能的话)(如 FreeTDS,如果相关数据库是 MS-SQL Server)

This depends on how you connect to Navision. Does Navision provide some kind of API by which you can access it (Webservices or something)? In that case, the LAMP server can use that API.

If you need to access the database behind Navision, then PHP needs access to the database. Either over ODBC or directly if possible (like FreeTDS if the database in question is a MS-SQL Server)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文