note 116175 added to ssh2.installation

From: Date: Tue, 18 Nov 2014 16:10:51 +0000
Subject: note 116175 added to ssh2.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-200948@lists.php.net to get a copy of this message
Installing this module for use with CentOS 5.?? or 6.? 1. Install your favorite PHP RPM packages. Make sure that one of your favorite packages is pear, so pecl gets installed in-tow. 2. Find and install *RPMS* of libssh2 of a version >= 1.2, get both the base lib package (libssh2-1.2.*.rpm) and the devel package that includes headers (libssh2-devel-1.2.*.rpm) of the EXACT SAME VERSION. Finding these packages took a few minutes of googling, and I invite an editor that has a trusted source for these to attach URLs as appropriate. (Yes, the version below is ancient) # rpm -ivh libssh2-1.2.6-1.el5.rf.x86_64.rpm libssh2-devel-1.2.6-1.el5.rf.x86_64.rpm 3. Install the PHP module via pecl # pecl install ssh2-0.12 4. Make PHP see the newly-installed extension # echo "extension=ssh2.so" > /etc/php.d/ssh2.ini 5. Restart apache ---- Server IP: 72.52.91.14 Probable Submitter: 160.79.209.130 ---- Manual Page -- http://php.net/manual/en/ssh2.installation.php Edit -- https://master.php.net/note/edit/116175 Del: integrated -- https://master.php.net/note/delete/116175/integrated Del: useless -- https://master.php.net/note/delete/116175/useless Del: bad code -- https://master.php.net/note/delete/116175/bad+code Del: spam -- https://master.php.net/note/delete/116175/spam Del: non-english -- https://master.php.net/note/delete/116175/non-english Del: in docs -- https://master.php.net/note/delete/116175/in+docs Del: other reasons-- https://master.php.net/note/delete/116175 Reject -- https://master.php.net/note/reject/116175 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200948) next »