我正在尝试php_ssh2.dll(thread safe version-1.1.2)
使用xampp
onApache Server
在PHP 7.2
Windows 10 上运行。我的phpinfo()
节目Compiler
是MSVC15 (Visual C++ 2017)
、Architecture
是x86
并且Thread Safe
已启用。下载后我保留php_ssh2.dll
在C:\xampp\php\ext
文件夹中并添加extension=php_ssh2.dll
到php.ini
文件中。之后我重新启动了我的 Apache 服务器。但问题没有解决。有些帖子建议使用,但在我下载libssh2.dll
的文件中找不到该 dll 。package(php_ssh2-1.1.2-7.1-ts-vc14-x86.zip)
谁能帮我解决这个问题?谢谢。
apache - PHP 警告:PHP 启动:无法加载动态库 'php_ssh2.dll'(已尝试:C:\xampp\php\ext\php_ssh2.dll(%1 不是有效的 Win32 应用程序)
问问题
1516 次
1 回答
1
对于 PHP 7.2,您需要使用用 VC15 编译器编译的版本。不幸的是,它无法在 pecl.php.net 下载,但您可以从https://github.com/nufue/pecl-ssh2-windows下载它
于 2018-09-30T17:42:54.110 回答