Installing ssh2 support in PHP: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "Most distribution has the SSH2 library packaged for PHP, but this is not the case for example if you are running CentOS 6 with php55w installed. In this case you need to manu...")
 
No edit summary
Line 4: Line 4:


<tt>
<tt>
yum -y install php55w-pear
yum -y install php55w-pear</br>
yum -y install php55w-devel
yum -y install php55w-devel</br>
pecl install ssh2-0.13
pecl install ssh2-0.13</br>
</tt>
</tt>

Revision as of 09:14, 30 July 2016

Most distribution has the SSH2 library packaged for PHP, but this is not the case for example if you are running CentOS 6 with php55w installed.

In this case you need to manually install some prerequisites and compile it.

yum -y install php55w-pear
yum -y install php55w-devel
pecl install ssh2-0.13