普通网友
2018-08-04 11:00
浏览 174
已采纳

EasyPHP Devserver 17:程序无法启动,因为缺少libssh2.dll

I'm new in PHP development.
I was using Easyphp old version, now I upgraded to the new one but now an alert error message the program can't be start because is libssh2.dll missing. is displaying when trying to open it or when I enable cURL function.
I reinstalled the software but it's still not working. If I disable extension=php_curl.dll in php.ini then it's fine, but cURL is not working anymore.
enter image description here

What should I do? I tried everything, I wasted 3 nights.
Any help will be appreciated. Thanks in Advance.

图片转代码服务由CSDN问答提供 功能建议

我是PHP开发的新手。
我使用的是Easyphp旧版本,现在我升级到了 新的,但现在是一个警告错误消息程序无法启动,因为libssh2.dll缺失。在尝试打开它或启用 cURL 功能时显示。
我重新安装了软件,但它仍然无法运行。 如果我在 php.ini 中禁用 extension = php_curl.dll ,那么它很好,但 cURL 不再有效。
< a href =“https://i.stack.imgur.com/vmIaA.jpg”rel =“nofollow noreferrer”>在此处输入图像说明

我该怎么办 ? 我尝试了一切,我浪费了3个晚上。
任何帮助将不胜感激。 谢谢提前。

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

2条回答 默认 最新

  • dooo61733 2018-08-04 20:22
    最佳回答

    i also got this message when i started to use curl with EasyPHP-Devserver 17 and i follow these steps which actually solved the issue:

    try to download the DLL from a secure website ,you can use this link : http://www.dll-found.com/download/l/libssh2.dll

    then follow the steps:

    • Free Download libssh2.dll to your computer.
    • move the dll file to the system directory. (Windows XP, Vista, Windows 7) - C:\Windows\System32 (Windows NT/2000) - C:\WINNT\System32 (Windows 95/98/Me) - C:\Windows\System If you use a 64 bit version of Windows, The System Directory in
      C:\Windows\SysWOW64\
    • Reboot computer.

    You can also simply copy the libssh2.dll file into the PHP directory which must look like

    C:\Program Files\EasyPHP-Devserver-17\eds-binaries\php\php713vc14x86x171216121038

    for PHP7

    and

    C:\Program Files\EasyPHP-Devserver-17\eds-binaries\php\php5630vc11x86x171216121038

    for PHP 5.6

    评论
    解决 无用
    打赏 举报
查看更多回答(1条)

相关推荐 更多相似问题