这个2个插件就算是在php.ini里面将extension=openssl,extension=curl前面的;去掉依旧不能添加成功。
官网上有一段话可以解决这个问题:
I had to also also copy libssh2.dll into my Apache24 folder for this
to work with my PHP 5.6.2 installation. So altogether I had to do the
following:
Move to Windows\system32 folder:
libssh2.dll, php_curl.dll, ssleay32.dll, libeay32.dll
Move to Apache24\bin folder
libssh2.dll
Uncomment extension=php_curl.dll
将libssh2.dll, php_curl.dll, ssleay32.dll, libeay32.dll php_openssl.dll 移动到window\system32里面就可以解决这个问题了。