您好,由于不清楚您的操作系统,下面就把常用的发行版的安装依赖贴出来了:
1、CentOS7:
- yum install libssh2 libssh2-devel -y
复制代码 CentOS8:
- dnf install libssh2 libssh2-devel -y
复制代码 2、Ubuntu18|20|21:
- apt-get update -y
- apt-get install libssh2-1 libssh2-1-dev -y
复制代码
3、Debian10|11
- apt-get update -y
- apt-get install libssh2-1 libssh2-1-dev -y
复制代码
安装好后,重新安装下php
|