Professional Documents
Culture Documents
Have more
# wget https://libssh2.org/download/libssh2-
questions?
1.8.0.tar.gz
Submit aYes
request
# tar vxzf libssh2-1.8.0.tar.gz
No
# cd libssh2-1.8.0/
# ./configure
# make
# make install
https://support.plesk.com/hc/en-us/articles/213930085-How-to-install-ssh2-extension-for-PHP 1/4
15/8/2017 How to install ssh2 extension for PHP Plesk Help Center
# wget https://pecl.php.net/get/ssh2-0.13.tgz
# ./configure --with-ssh2
# make
# make install
How to install
4. Add extension to PHP: ssh2 extension
for PHP
2017-08-08
For Plesk php(5.6 as example): 13:08:20 UTC
7
1. Install all missing packages:
Was this article
helpful?
# yum install make gcc glibc-devel zlib-devel
openssl-devel plesk-php56-devel
Have more
2. Compile and install libssh2 libraries(not required if it was previously questions?
https://support.plesk.com/hc/en-us/articles/213930085-How-to-install-ssh2-extension-for-PHP 2/4
15/8/2017 How to install ssh2 extension for PHP Plesk Help Center
# wget https://libssh2.org/download/libssh2-
1.8.0.tar.gz
# tar vxzf libssh2-1.8.0.tar.gz
# cd libssh2-1.8.0/
# ./configure
# make
# make install
Applicable to:
on 'libssh2 prex? [autodetect] :' leave empty and press enter Plesk 12.5 for Linux
Created:
4. Add extension to PHP:
2016-11-16
13:00:53 UTC
# echo "extension=ssh2.so" >
Modied:
/opt/plesk/php/5.6/etc/php.d/ssh2.ini
2017-08-08
13:08:20 UTC
1. Check that it is working:
7
/opt/plesk/php/5.6/bin/ph helpful?
https://support.plesk.com/hc/en-us/articles/213930085-How-to-install-ssh2-extension-for-PHP 3/4
15/8/2017 How to install ssh2 extension for PHP Plesk Help Center
How to install
ssh2 extension
for PHP
Applicable to:
Created:
2016-11-16
13:00:53 UTC
Modied:
2017-08-08
13:08:20 UTC
Have more
questions?
Submit a request
https://support.plesk.com/hc/en-us/articles/213930085-How-to-install-ssh2-extension-for-PHP 4/4