This document provides instructions for installing the libssh2 and ssh2 PHP extensions on a Linux server. It first guides the user to download, compile and install libssh2. It then guides the user to download, compile and install the ssh2 PHP extension, including configuring with the libssh2 location. It notes that an alternative set of commands can also be used to install ssh2 on newer PHP versions.