gpt4 book ai didi

PHP 启动 : Unable to load dynamic library

转载 作者:可可西里 更新时间:2023-11-01 13:10:09 25 4
gpt4 key购买 nike

我正在尝试将 Firebird 2.5.2.26539 与:

  • Windows 8
  • Apache 2.2.22
  • PHP 5.4.10

当我在 php 中启用 firebird 的扩展时:

- extension=php_interbase.dll
- extension=php_pdo_firebird.dll

我收到这些错误:

[26-Dec-2012 12:08:11 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_interbase.dll' - Impossible to locate the specified module. in Unknown on line 0

[26-Dec-2012 12:08:13 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_pdo_firebird.dll' - Impossible to locate the specified module. in Unknown on line 0

如果我在命令行中执行 PHP -a,错误消息会有所不同:找不到 fbclient.dll。

我运行了 flamerobin,它打开了数据库。所以我将 fbclient.dll 复制到 PHP 根路径。然后错误变为:

[26-Dec-2012 11:55:46 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_interbase.dll' - %1 is not a valid Win32 application. in Unknown on line 0

[26-Dec-2012 11:55:46 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_pdo_firebird.dll' - %1 is not a valid Win32 application. in Unknown on line 0

谁能帮我解决这个问题?我怀疑这个版本的 Firebird 仍然没有为 PHP 做的正确扩展。谢谢。

最佳答案

我重复上面 Nenhum Pois é 的评论(有些人可能会错过),因为它是问题的真正解决方案:

The problem was the fbclient.dll from the FB 64 bits installation. I just got the fbclient.dll from 32bits, copy it into the PHP root and it solved the problem

关于PHP 启动 : Unable to load dynamic library,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14040756/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com