Hello,
When I've tred to migrate my scripts from PHP 5.2.6 (WampServer 2.0i) to PHP 5.3.5 ( WampServer 2.1e), I have this error message:
"Fatal error: Call to undefined function ssh2_connect() in ..."
This is because the php_ssh2 extension is not longer provided in the PHP package since PHP 5.3.0, and the extension given with PHP 5.2 doesn't work with PHP 5.3.0. (The name of the extension in the doc is "Secure Shell2", short name is "SSH2", it leads on the "libssh2.org" library, and its technical name in the the php.ini file is "php_ssh2.dll" )
The ssh2 extension seems the has been upgraded by the developers of the project ( [
pecl.php.net] ). Here is the source code, but unfortunately the compiled extension cannot be found for Windows 32 OS. At least, I haven't found one that is working since now.
Some forums tell that the DLL can be found at [
pecl4win.php.net] but in fact this page is not available. It says for a long time: "The pecl4win build box is temporarily out of service. We're preparing a new build system."
Somme versions of the new "php_ssh2.dll for Windows can be found at [
downloads.php.net] , but they don't work with WampServer probably because of an incompatible version of the PHP compilation. The files are "php_ssh2-0.11.2-5.3-nts-vc9-x86.zip" and "php_ssh2-0.11.2-5.3-vc9-x86.zip".
The SSH2 extension is good and I haven't found any other PHP extension that performs SSH connexion.
It is now 18 months that PHP 5.3.0 has been released and there is no official solution for this issue.
Do some of your have found the solution?
Can the WampServer team provide the compiled DLL for this extension?
Have a nice days,
Regards,
Vince
Edited 5 time(s). Last edit at 01/20/2011 10:53AM by VinceInfo.