Код: Выделить всё
Download from https://libssh2.org/
tar vxzf libssh2-1.11.1.tar.gz
cd libssh2-1.11.1
./configure
make
make install
Download from http://pecl.php.net/package/ssh2
tar vxzf ssh2-1.4.1.tgz
cd ssh2-1.4.1
phpize
./configure --with-ssh2
make
make install
I added "extension=ssh2.so" into /etc/php.ini
systemctl restart php-fpm
Код: Выделить всё
dnf module reset php
dnf module enable php:8.2 -y
dnf module install php:8.2/common -y
systemctl restart php-fpm
systemctl restart httpd
Кто-нибудь знает, что я делаю не так?
Подробнее здесь: https://stackoverflow.com/questions/792 ... n-centos-8
Мобильная версия