dongquechan4414 2017-10-05 14:12
浏览 120

使用xampp在Windows上使用php 7.1.8连接到db2数据库

I have a problem. I am trying to query the db2 database with php 7 on Windows. So I have read a lot about connecting to db2 etc, and I have tried a lot of things and still I have the problem.

This is php.ini file:

extension=php_ibm_db2.dll

And this is an error I get every time:

[05-Oct-2017 13:44:55 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_ibm_db2.dll' - The specified module could not be found. in Unknown on line 0

I have tried both versions thread safe and non thread safe, but I can't get it to work.

I have done it with the php version 5.5.38 but I would like to use the latest one.

Additional information: I am running the windows 10 64bit. I have downloaded 1.9.9 dll from the pecl library. I have put it in the php.ini where all the other extensions are and in the following folder described down: Of course there is the file in the php\ext\php_ibm_db2.dll

I am the administrator, so permissions are full.

Please if you have some solutions tell me.

Thanks in advance.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥100 求数学坐标画圆以及直线的算法
    • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
    • ¥15 名为“Product”的列已属于此 DataTable
    • ¥15 安卓adb backup备份应用数据失败
    • ¥15 eclipse运行项目时遇到的问题
    • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
    • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
    • ¥15 自己瞎改改,结果现在又运行不了了
    • ¥15 链式存储应该如何解决
    • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站