<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Requirements</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ssh2.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="ssh2.installation.html">Installation</a></div> <div class="up"><a href="ssh2.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="ssh2.requirements" class="section"> <h2 class="title">Requirements</h2> <p class="para"> The <a href="http://www.openssl.org/" class="link external">» OpenSSL</a> and <a href="http://libssh2.org/" class="link external">» libssh2</a> libraries are required. Ensure that the development libraries are installed, where a typical package name might be <em>openssl-dev</em>. </p> <p class="para"> Version 1.2 or newer of the libssh2 library is required, although it's possible newer releases of pecl/ssh2 may require newer versions (see the release notes). </p> <p class="para"> The <span class="function"><a href="function.ssh2-auth-agent.html" class="function">ssh2_auth_agent()</a></span> function will only be available with libssh >= 1.2.3. </p> <p class="para"> support for <span class="function"><a href="function.stream-set-timeout.html" class="function">stream_set_timeout()</a></span> to channel streams will only be available with libssh >= 1.2.9. </p> <p class="para"> Libssh2 comes in two flavours: gcrypt or openssl. Some linux distributions build libssh2 with the gcrypt library, some use openssl. Libssh2 has some issues when compiled with gcrypt, please use openssl. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ssh2.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="ssh2.installation.html">Installation</a></div> <div class="up"><a href="ssh2.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>