Home  >  Article  >  Backend Development  >  紧急关于php连接db2的操作

紧急关于php连接db2的操作

WBOY
WBOYOriginal
2016-06-13 13:09:37896browse

紧急求救,关于php连接db2的操作
各位好,公司有个项目要用php和DB2开发,程序已经写好了,在我本地上也能运行,现在部署到centos服务器上运行不了,提示db2_connect未定义,想请大家帮下忙,在CENTOS上如何配置PHP与odbc的按链接操作,十分感谢!我找了二天了,都没有任何进展,哭的心都有了,希望大家能帮下我

------解决方案--------------------
貌似你的centos上要安装db2
------解决方案--------------------
You will need re2c 0.9.11 or later if you want to regenerate PHP parsers
你用版本太低了。
用re2c或是You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.搜一搜

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn