php / pecl-networking-ssh2

Bindings for the libssh2 library
http://pecl.php.net/package/ssh2
Other
51 stars 61 forks source link

Compatibility with PHP 8.1 windows dll #57

Closed Yuriathome closed 1 year ago

Yuriathome commented 2 years ago

Under PHP 8.0.13 all ok Under PHP 8.1.0 I recived: Warning: PHP Startup: ssh2: Unable to initialize module Module compiled with module API=20200930 PHP compiled with module API=20210902

christophfink commented 2 years ago

I was facing a very similar issue and found that make clean solved the problem. (it seems the configure script does not invalidate already-compiled parts correctly when the module API has changed)