标签:https pass ssh2 wrapper binary ssi 升级 stat poi
环境里一直是跑PHP 7.1 版本,为了适应未来发展,现在升级为PHP 7.3.5但是发现无法安装SSH2扩展。上面下载的是最新的ssh2-1.1.2版本,无奈只能使用最新的代码进行安装
yum -y install git libssh2-devel
git clone https://git.php.net/repository/pecl/networking/ssh2.git
cd ssh2
/usr/local/php7.3.5/bin/phpize
./configure --with-php-config=/usr/local/php7.3.5/bin/php-config
make
make install
echo "extension=ssh2.so">>/usr/local/php7.3.5/etc/php.ini
rm -rf ../ssh2
标签:https pass ssh2 wrapper binary ssi 升级 stat poi
原文地址:https://blog.51cto.com/fengwan/2395669