note 87150 added to ssh2.installation

From: Date: Fri, 21 Nov 2008 16:01:18 +0000
Subject: note 87150 added to ssh2.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-146798@lists.php.net to get a copy of this message
Installing ssh2: 1) Download and unpack tar.gz per instructions above. 2) Enter unpacked directory 3) vi patchfile, paste the following (except the ###) and save: ########################################## --- ssh2.c.orig 2005-11-01 15:40:23.000000000 -0800 +++ ssh2.c 2007-10-05 11:29:50.000000000 -0700 @@ -477,7 +477,7 @@ ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); -#if LIBSSH2_APINO < 200412301450 +#if LIBSSH2_VERSION_NUM < 0x001000 libssh2_session_methods(session, &kex, &hostkey, &crypt_cs, &crypt_sc, &mac_cs, &mac_sc, &comp_cs, &comp_sc, &lang_cs, &lang_sc); #else kex = libssh2_session_methods(session, LIBSSH2_METHOD_KEX); ########################################## 4) run patch < patchfile 5) vi /etc/php.ini, add extension = ssh2.so where appropriate and save. 6) restart apache, use phpinfo() to confirm ---- Server IP: 69.147.83.197 Probable Submitter: 170.140.100.157 ---- Manual Page -- http://www.php.net/manual/en/ssh2.installation.php Edit -- https://master.php.net/note/edit/87150 Del: integrated -- https://master.php.net/note/delete/87150/integrated Del: useless -- https://master.php.net/note/delete/87150/useless Del: bad code -- https://master.php.net/note/delete/87150/bad+code Del: spam -- https://master.php.net/note/delete/87150/spam Del: non-english -- https://master.php.net/note/delete/87150/non-english Del: in docs -- https://master.php.net/note/delete/87150/in+docs Del: other reasons-- https://master.php.net/note/delete/87150 Reject -- https://master.php.net/note/reject/87150 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#146798) next »