更新时间:2022-03-26 23:55:22
您可能会错过的几件事:-
A couple of things you may have missed :-
此处可供下载使用VC9编译的32位版本的SSH2(可用于PHP5.4),因此必须确保已安装32位版本的XAMPP.
Having a look here for the download there is only a 32bit version of SSH2 compiled with VC9 available for PHP5.4, so you will have to ensure you have the 32bit version of XAMPP installed.
哦,最后一点,您不需要,也不应该,将php_ssh2.dll的副本复制到c:\windows\system32
中,因此从该文件夹中删除dll. PHP知道只有在您想升级XAMPP版本时,才能从哪里加载扩展并将文件放在c:\windows\system32
中.
Oh and a final note, you do not need, and should not do, the copy of php_ssh2.dll into the c:\windows\system32
so remove the dll from this folder. PHP knows where to load its extensions from and putting files in c:\windows\system32
will only confuse things when you want to upgrade your version of XAMPP.