Owen Parker
Owen Parker

Reputation: 261

How to use ssh2 in PHP 8.0?

I read through all the incompatibilities prior to installing php 8 updates only to find out way too late that there is no support for the ssh2 extension yet that I can find. I am hoping that I am just missing something. I have been googling for a couple hours and all possible leads came up dry. Can anyone point me to the php 8 version of ssh2 extension, please?

Upvotes: 2

Views: 12928

Answers (2)

Boaventura
Boaventura

Reputation: 1409

Install "libssh2-1-dev" Package on Ubuntu

Quick Install Instructions of libssh2-1-dev on Ubuntu Server. It’s Super Easy! simply click on Copy button to copy the command and paste into your command line terminal using built-in APT package manager.

See below for quick step by step instructions of SSH commands, Copy/Paste to avoid miss-spelling or accidently installing a different package.

sudo apt-get install -y libssh2-1

Upvotes: 0

Matt Smith
Matt Smith

Reputation: 2655

It looks like they've released this extension for PHP 8+. PECL Download

Upvotes: 2

Related Questions