note 92306 added to ssh2.installation
| From: | ADZ:adz at jewc dot org | Date: | Sat, 18 Jul 2009 07:19:07 +0000 |
| Subject: | note 92306 added to ssh2.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158454@lists.php.net to get a copy of this message | ||
Here's how I got it working on ubuntu:
cd /tmp
wget http://downloads.sourceforge.net/sourceforge/libssh2
/libssh2-1.1.tar.gz?use_mirror=voxel
sudo tar -xf libssh2-1.1.tar.gz
./configure
sudo make install
sudo pecl install ssh2-beta
(Press Enter a buncha times)
sudo gedit /etc/php5/apache2/php.ini
Note: the wget is 1 LINE!!!! It just won't let me paste the full url
Add
extension = ssh2.so somewhere (preferably extensions section)
sudo apache2ctl restart
and we're all installed :)
----
Server IP: 208.69.120.35
Probable Submitter: 72.80.251.213
----
Manual Page -- http://www.php.net/manual/en/ssh2.installation.php
Edit -- https://master.php.net/note/edit/92306
Del: integrated -- https://master.php.net/note/delete/92306/integrated
Del: useless -- https://master.php.net/note/delete/92306/useless
Del: bad code -- https://master.php.net/note/delete/92306/bad+code
Del: spam -- https://master.php.net/note/delete/92306/spam
Del: non-english -- https://master.php.net/note/delete/92306/non-english
Del: in docs -- https://master.php.net/note/delete/92306/in+docs
Del: other reasons-- https://master.php.net/note/delete/92306
Reject -- https://master.php.net/note/reject/92306
Search -- https://master.php.net/manage/user-notes.php