简体   繁体   English

在Apache 86_64 Arch(64位)中使用32位模块

[英]Using 32 Bit Modules with Apache 86_64 Arch (64 bit)

So I have a very unique problem. 所以我有一个非常独特的问题。

I am using php-ODBC (32 Bit) to connect to a remote ERP system. 我正在使用php-ODBC(32位)连接到远程ERP系统。 This system is propitiatory and ONLY provides 32 bit ODBC drivers. 该系统是临时性的,仅提供32位ODBC驱动程序。

In order to use these drivers with PHP I MUST be using 32 bit php as well (unless someone knows a work around here to use 32 bit modules on PHP 86_64) 为了将这些驱动程序与PHP一起使用,我也必须同时使用32位php(除非有人知道这里的解决方法可以在PHP 86_64上使用32位模块)

This means that I also need Apache 32 bit because unfortunately to my knowledge there is no way to run PHP 32 bit with Apache 64 bit.. 这意味着我也需要Apache 32位,因为不幸的是,据我所知,无法使用Apache 64位运行PHP 32位。

Any help here would be appreciated, I tried compiling using 这里的任何帮助将不胜感激,我尝试使用

--with-libdir=lib32 --with-libdir = lib32

but there are an infinite number of conflicts with Libtools 但是与Libtools有无数的冲突

You could use the Easysoft ODBC-ODBC Bridge . 您可以使用Easysoft ODBC-ODBC Bridge

With this you could install a 32-bit ODBC-ODBC Bridge server which could connect to your ERP 32-bit ODBC Driver and a 64-bit ODBC-ODBC Bridge client which can connect to the 32-bit ODBC-ODBC Bridge server. 这样,您可以安装可以连接到ERP 32位ODBC驱动程序的32位ODBC-ODBC Bridge服务器和可以连接到32位ODBC-ODBC Bridge服务器的64位ODBC-ODBC Bridge客户端。

This is a commercial product where you can get a trial license. 这是一种商业产品,您可以在其中获得试用许可证。 If you are planning on trying this contact Easysoft Support ( support@easysoft.com ) and ask them how to set this up. 如果您打算尝试此操作,请联系Easysoft支持(support@easysoft.com),并询问他们如何进行设置。

Using this option would mean you could keep your defualt Apache & PHP both 64-bit but still access 32-bit ODBC data sources. 使用此选项意味着您可以将默认的Apache和PHP都保留为64位,但仍可以访问32位ODBC数据源。

I wound up reformatting the server with a 32bit OS.. Wasn't my preferred choice but under the time constraints it was all I had left. 我用32位操作系统重新格式化服务器。.虽然这不是我的首选,但在时间限制下,这一切我都剩下了。 I didn't try fastcgi, although this solution sound very plausible since it is it's own process. 我没有尝试过fastcgi,尽管这个解决方案听起来很合理,因为这是它自己的过程。 Thanks for the help 谢谢您的帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM