I have followed the instructions here: PHP Install SSH2 on Windows machine amongst other places.
Please note I am at work and cannot change this development environment.
Using
if (extension_loaded('ssh2'))
I can see the extension has not been loaded.
I tried using both the TS and NTS files from here: http://windows.php.net/downloads/pecl/releases/ssh2/0.12/ for
PHP 5.3
(I am version 5.3.5).I am have placed
php_ssh2.dll
andphp_ssh2.pdb
files in the correct ext folder forPHP
(I have confirmed this is the right ext folder using thephpinfo()
command).I have added
extension=php_ssh2.dll
to the php.ini file, again ensuring it's the right ini file using thephpinfo()
commandI have added
libsshl2.dll
to bothsyswow64
andsystem32
foldersWhen I try to register either of those using command line prompts it fails but I have been told by my other question this is because
libssh2.dll is not a COM server so cannot be registered
- How do I register a php dll with windows if it's 64 bit windows but 32 bit php and apache? I have tried running the commands as the administratorApache
has been restarted. There is nothing in the error log.
Please help, tearing my hair out over this one