Carson Reinke's Headshot

Carson Reinke's (πŸš—β˜€β˜”πŸ”‘) Blog

Fixing PHP SSH2 extension

If you are having a problem with PHP segfaulting when using the PHP SSH2 extension, I will able to solve this issue by removing the system installed extension and using PECL to install it via source. There is problably is some sort of mismatch in the packaging between php-ssh2 and the dependency libssh2-1.

Below is how I was able to fix it (all with sudo):

Related bugs and issues: