Installing PHP’s SSH2 extension on Ubuntu

On Ubuntu 10.04 LTS, Do this (there’s no need to do any compiling anymore)

apt-get install libssh2-1-dev libssh2-php

You can now test if PHP recognizes it’s new ssh2 extension by running:

php -m |grep ssh2

Don’t forget to restart Apache

service apache2 restart

Related posts:

  1. Installing / re-installing and Configuring phpMyAdmin on Ubuntu
  2. Good bye CentOS! Hello Ubuntu
  3. Intall Apache, MySQL and PHP on Ubuntu 8.10
  4. Installing MySQL 5.1 on Ubuntu
  5. Intall Apache, MySQL and PHP on Ubuntu – Part 2

One thought on “Installing PHP’s SSH2 extension on Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>