如何获得Apache以支持PHP 5.3.6连接到Sybase ASE 15.7? [英] How could I get Apache to support PHP 5.3.6 connecting to Sybase ASE 15.7?

查看:121
本文介绍了如何获得Apache以支持PHP 5.3.6连接到Sybase ASE 15.7?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参考下面的上一个问题,在此我可以使PHP与SYBASE ASE 15.7对话:

Referencing to my previous question below, where I am able to get PHP to talk to SYBASE ASE 15.7:

>当密码输入时,为什么与ASE的连接失败需要加密吗?

正如我所提到的,我们遇到了一些障碍,因此我在这里发布另一个问题是指在努力尽快解决该问题的过程中,任何人都有专业知识,请分享.当然,一旦我们能够弄清楚了,也将在这里分享答案.

As, I have mentioned, we ran into a little snag so I am posting another question here mean while making effort to resolve it ASAP, anyone has the expertise, please share. Of course, once we're able to figure it out, will share answer here as well.

我的工作类似于下面的几对帖子:

What I am look to do is similar to these couple postings below:

http://tldp.org/HOWTO/Sybase-PHP-Apache/index.html

http://sybase-addict.com/2010/01/16/sybase-ase-v15-apache-and-php-compilation/

但是使用最新的Apache版本PHP 5.3.6,并连接到Sybase ASE 15.7.此外,我们正在运行稳定的Debian. Sybase的员工可能是回答此问题的最佳选择.因此,请酌情提供帮助.

But with the latest apache version, PHP 5.3.6, and connecting to Sybase ASE 15.7. Also, we are running Debian squeeze stable. Probably folks out there from Sybase may be the best bet to answer to this question. So please help as appropriate.

-我们在与Sybase ASE进行PHP 5.3.6交流方面取得了成功. -PHP与Apache对话取得了成功

-We have success with PHP 5.3.6 talking to Sybase ASE. -We have success with PHP talking to Apache

但不能两者都

我想成功的关键组件是知道要使用哪个./configure PHP选项以及Sybase的特定库链接.上面的那些链接与我们正在寻找的链接相似,但是每次,我都尝试使用除默认./configure之外的任何其他选项进行编译,我会在下面得到错误:

Key components I guess to be successful is knowing which ./configure PHP options to use and Sybase's specific library linking. Those above links have similar to what we are looking for, but every time, I've try compile with any other options beside the default ./configure I would get error below:

PHP警告:PHP启动:无法加载动态库 '/opt/sybase/OCS-15_0/php/php536_64/lib/sybaseasephp.so'- /opt/sybase/OCS-15_0/php/php536_64/lib/sybaseasephp.so:未定义 符号:未知行0上的executor_globals

PHP Warning: PHP Startup: Unable to load dynamic library '/opt/sybase/OCS-15_0/php/php536_64/lib/sybaseasephp.so' - /opt/sybase/OCS-15_0/php/php536_64/lib/sybaseasephp.so: undefined symbol: executor_globals in Unknown on line 0

任何PHP/SYBASE专家都知道答案,请分享.

Any PHP/SYBASE expert out there know the answer to this, please share.

最好

推荐答案

我正在使用RedHat Linux,但遇到了类似的情况,并使用了没有构建的PHP(5.3.3)来解决了该问题. strong> sybase_ct,显然它与sybaseasephp发生了某种冲突.换句话说,要使用sybaseasephp,不应使用sybase_ct构建您的PHP. sybase_connect调用根本不需要更改.我使用sybaseasephp php536_64并使用Sybase 16 OCS.

I am using RedHat Linux but ran into a similar situation and solved it by using a PHP (5.3.3) that had been built without sybase_ct, apparently it runs into some sort of conflict with sybaseasephp. In other words, to use sybaseasephp your PHP should not be built with sybase_ct. The sybase_connect call did not have to change at all. I went with sybaseasephp php536_64 and using the Sybase 16 OCS.

这篇关于如何获得Apache以支持PHP 5.3.6连接到Sybase ASE 15.7?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆