尝试ssh2
使用 pecl 安装扩展时遇到以下错误:
17 warnings and 3 errors generated.
make: *** [ssh2_fopen_wrappers.lo] Error 1
ERROR: `make' failed
这是我所做的:
brew install php
brew install libssh2
pecl install ssh2-1.1.2
那安装了 php 7.3.3、libssh2 1.8.0 并且无法安装 ssh2-1.1.2。
有没有人有解决这个问题的方法?谢谢!
相关链接:
https ://github.com/docker-library/php/issues/767
为 PHP 安装 PECL SSH2 扩展