A
A
Alexander Vladimirovich2020-11-24 00:01:09
PHP
Alexander Vladimirovich, 2020-11-24 00:01:09

How to install php8.0-ssh2?

I wanted to try php8 in my free time.
How to put the ssh2 extension in 8-ke?
axis debian10,ubuntu20.04

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Vladimirovich, 2020-11-24
@polyanin

https://github.com/remicollet/pecl-networking-ssh2...

S
Serge Shkurko, 2021-02-01
@SergeMeow

For docker (an image based on official php) this is done in 5 lines:

RUN docker-php-source extract \
    && mkdir -p /usr/src/php/ext/ssh2 \
    && curl -fsSL https://github.com/php/pecl-networking-ssh2/archive/master.tar.gz | tar xvz -C /usr/src/php/ext/ssh2 --strip 1 \
    && docker-php-ext-install ssh2 \
    && docker-php-source delete

A
Alexey, 2016-10-03
@alsopub

www.scrolleffects.com/edge-animation.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question