Announcement

Collapse
No announcement yet.

How to install alt-php 7 with ssh2 extension

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to install alt-php 7 with ssh2 extension

    Looking for solution on how to install alt-php 7 with ssh2 extension

  • #2
    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

    Comment


    • #3
      I have just checked test server and ssh2 is available for alt-php70 and 71 :

      Code:
      # find /opt/alt/php70/ -name ssh2*
      
      /opt/alt/php70/etc/[URL]http://php.d.all/ssh2.ini[/URL]
      
      /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

      Comment


      • #4
        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 .

        Comment


        • #5
          Hello,

          So far we havent been able to compile ssh2 (as well as mailparse module) for PHP 7.3, as those modules werent updated for a long time.

          Comment

          Working...
          X