Created
June 1, 2020 13:52
-
-
Save fistwho/be1e4fef66bfe60049ecef19aa2080b5 to your computer and use it in GitHub Desktop.
Plesk SSH2 on PHP 7.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ yum install -y plesk-php73-devel gcc libssh2-devel | |
$ yum -y install php-devel | |
$ wget https://pecl.php.net/get/ssh2 | |
$ mv ssh2 ssh2-1.2.tgz | |
$ /opt/plesk/php/7.3/bin/pecl install ssh2-1.2.tgz | |
$ echo "extension=ssh2.so" > /opt/plesk/php/7.3/etc/php.d/ssh2.ini | |
$ plesk bin php_handler --reread | |
$ service plesk-php73-fpm restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks!