解决办法:


一、在php安装根目录(例如:”D:\Program Files\Php”)和php扩展目录(例如:”D:\Program Files\Php\ext”)下,找到”libssh2.dll”, “php_curl.dll”, “ssleay32.dll”, “libeay32.dll”,拷贝到系统目录:”C:\Windows\System32”

二、重启apahe

       网上说的把”libssh2.dll” 拷贝到Apache的bin目录下(例如:”D:\Program Files\Apache24\bin”)。其实不用,但libssh2.dll一室要放到system32下