I am trying to install ssh2 on xampp
- Xampp version : 3.2.1
- PHP version : 5.4.19
Until now I have used following step to install:
download and copied
libssh2.dllfile toc:\windows\system32php_ssh2.dllandphp_ssh2.pdbfiles in the "ext" (e.gc:\xampp\php\ext) folder;remove
;from this lineextention:php_ssh2.dllin php.ini.restart xampp
But I am getting error in log file:
unable to load dynamic library php_ssh2.dll
Can anyone help me with this?
A couple of things you may have missed :-
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.
Oh and a final note, you do not need, and should not do, the copy of php_ssh2.dll into the
c:\windows\system32so remove the dll from this folder. PHP knows where to load its extensions from and putting files inc:\windows\system32will only confuse things when you want to upgrade your version of XAMPP.