I am facing the following error while trying to install ssh2
extension with pecl:
17 warnings and 3 errors generated.
make: *** [ssh2_fopen_wrappers.lo] Error 1
ERROR: `make' failed
Here is what I've done:
brew install php
brew install libssh2
pecl install ssh2-1.1.2
That installed php 7.3.3, libssh2 1.8.0 and failed to install ssh2-1.1.2.
Does anyone have a solution for the problem? Thank you!
Related links:
https://github.com/docker-library/php/issues/767
Install PECL SSH2 extension for PHP