How to install alt-php 7 with ssh2 extension
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. faizal karim
  2. Wednesday, 28 December 2016
  3.  Subscribe via email
Looking for solution on how to install alt-php 7 with ssh2 extension
Rate this post:
  1. 28.12.2016 05:12:34
  2. # 1
faizal karim Accepted Answer
Posts: 8
Joined: 02.05.2013
0
Votes
Undo
Dear team,

can anyone share with me the correct way to get alt-php 7 with ssh2 extension? we have some php coding that require ssh2 extension. previously we are running on 5.6 and i can see that we have ssh2 extension. after we upgrade the system to use php 7, we notice that ssh2 extension is not listed inside the extension list. looking forwad for your reply.

thanks.
faizal
  1. 04.01.2017 07:01:20
  2. # 2
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
I have just checked test server and ssh2 is available for alt-php70 and 71 :
# find /opt/alt/php70/ -name ssh2*
/opt/alt/php70/etc/http://php.d.all/ssh2.ini
/opt/alt/php70/usr/lib64/php/modules/ssh2.so
# rpm -qf /opt/alt/php70/usr/lib64/php/modules/ssh2.so
alt-php70-pecl-ext-1-18.el7.x86_64
  1. 14.01.2019 16:01:12
  2. # 3
Atiq Ur Rahman Ch. Accepted Answer
Posts: 0
Joined: 20.07.2019
0
Votes
Undo
ssh2 is not available with alt-php73

find /opt/alt/php73/ -name ssh2*
/opt/alt/php73/etc/http://php.d.all/ssh2.ini

rpm -qf /opt/alt/php73/usr/lib64/php/modules/ssh2.so
error: file /opt/alt/php73/usr/lib64/php/modules/ssh2.so: No such file or directory

I updated alt-php from cloudlinux testing repository but no luck unfortunately .
  1. 14.01.2019 18:01:19
  2. # 4
Igor Ghertesco Accepted Answer
Posts: 154
Joined: 07.08.2015
0
Votes
Undo
Hello,

So far we haven't been able to compile ssh2 (as well as mailparse module) for PHP 7.3, as those modules weren't updated for a long time.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.