PHP 5.4 php_ssh2 dependend library libssh2.dll can't register in window server 2008-x64 -
recently deploy php 5.4.17-nts
- version on windows server 2008 -x64 r2 standard
. download php5.14.17
http://windows.php.net/download/ , php
extension ssh2
(php_ssh2-0.12-5.4-nts-vc9-x86.zip) http://windows.php.net/downloads/pecl/releases/ssh2/0.12/.
but, after add ssh2
extension on php.ini
file , check version of php, throw error message "the program can't start because libssh2.dll missing computer. try reinstalling program fix problem".
i execute command regsvr32.exe
registered "libssh2.dll"
, failed.
interesting, if use version php
5.3
, 0.11
version ssh2
, doesn't show error message, ssh2
version 0.11
php
5.3
has 1 dll php_ssh2.dll
on php_ssh2-0.11.2-5.3-nts-vc9-x86
folder. on php_ssh2-0.12-5.4-nts-vc9-x86.zip
contains 3 files 1 php_ssl.dll
, libssh2.dll
, pdb
file.
queries know
1) php_ssh2-0.11.2-5.3-nts-vc9-x86
contains 1 dll (php_ssl.dll
), php_ssh2-0.12-5.4-nts-vc9-x86.zip
contains 2 dll (php_ssh2.dll
, libssh2.dll
) , 1 pdb
file, why it's different?
2) reason behind windows server 2008 - x64 r2 standard server doesn't registered libssh2.dll
i wonder if question might better suited serverfault.com or superuser.com.
anyway might have better luck phpseclib, pure php ssh2 implementation.
Comments
Post a Comment