加载libssh2.dll时出错

kre*_*eya 5 php libssh2

我正在尝试安装ssh2.所以我把libssh2.dll文件windows\system32文件夹比使用cmd我试图加载这个文件作为手段PHP在Windows机器上安装SSH2

我写

regsvr32 libssh2.dll 
Run Code Online (Sandbox Code Playgroud)

在此之后,我得到以下错误.

The module "libssh2.dll" was loaded but the entry-pointDllRegisterServer was not found.
Make sure that "libssh2.dll" is a valid DLL or OCX file and then try it again
Run Code Online (Sandbox Code Playgroud)

小智 0

尝试执行“regsvr32 /i”C:\full_path_here\libssh2.dll"。我通常将我的dll放在system32(在x86上)Windows或syswow64(在x64上)中