Apache 和 PHP Curl 问题
Apache and PHP Curl Issue
在我的 apache error.log 中,我有以下行:
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_curl.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
但是我已经检查了我的 PATH
变量并且列出了 PHP 目录,ext 文件夹设置正确并且文件夹中存在 php_curl.dll
。
我已经重新安装了 VC++ 重新分发以确保那里没有问题。
在检查过程中,我发现从 运行 打开以下所有 DLL 时都存在(测试它们可以从 PATH 变量中找到):
- ws2_32.dll
- wldap32.dll
- php7ts.dll
- libeay32.dll
- libssh2.dll
- nghttp2.dll
- ssleay32.dll
- normaliz.dll
- kernel32.dll
- vcruntime140.dll
- api-ms-win-crt-stdio-l1-1-0.dll
- api-ms-win-crt-string-l1-1-0.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-convert-l1-1-0.dll
- api-ms-win-crt-filesystem-l1-1-0.dll
- api-ms-win-crt-运行time-l1-1-0.dll
- api-ms-win-crt-utility-l1-1-0.dll
- api-ms-win-crt-time-l1-1-0.dll
- api-ms-win-crt-environment-l1-1-0.dll
我不确定 php_curl
可能有哪些依赖项,如果您能提供任何建议,我们将不胜感激。
更多系统信息:
- 编译器 MSVC14(Visual C++ 2015)
- 架构 x64
- Windows 7 个平台
- PHP 版本 7.1.4
- Apache 版本 2.4
我有同样的问题。我无法找到此错误的根本原因,但我设法找到了修复方法。简单地从我使用的 php 的先前版本复制 php_curl.dll - 7.1.2 x86 线程保存。目前一切正常。
在我的 apache error.log 中,我有以下行:
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_curl.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
但是我已经检查了我的 PATH
变量并且列出了 PHP 目录,ext 文件夹设置正确并且文件夹中存在 php_curl.dll
。
我已经重新安装了 VC++ 重新分发以确保那里没有问题。
在检查过程中,我发现从 运行 打开以下所有 DLL 时都存在(测试它们可以从 PATH 变量中找到):
- ws2_32.dll
- wldap32.dll
- php7ts.dll
- libeay32.dll
- libssh2.dll
- nghttp2.dll
- ssleay32.dll
- normaliz.dll
- kernel32.dll
- vcruntime140.dll
- api-ms-win-crt-stdio-l1-1-0.dll
- api-ms-win-crt-string-l1-1-0.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-convert-l1-1-0.dll
- api-ms-win-crt-filesystem-l1-1-0.dll
- api-ms-win-crt-运行time-l1-1-0.dll
- api-ms-win-crt-utility-l1-1-0.dll
- api-ms-win-crt-time-l1-1-0.dll
- api-ms-win-crt-environment-l1-1-0.dll
我不确定 php_curl
可能有哪些依赖项,如果您能提供任何建议,我们将不胜感激。
更多系统信息:
- 编译器 MSVC14(Visual C++ 2015)
- 架构 x64
- Windows 7 个平台
- PHP 版本 7.1.4
- Apache 版本 2.4
我有同样的问题。我无法找到此错误的根本原因,但我设法找到了修复方法。简单地从我使用的 php 的先前版本复制 php_curl.dll - 7.1.2 x86 线程保存。目前一切正常。