Forum Stats

  • 3,826,774 Users
  • 2,260,707 Discussions
  • 7,897,072 Comments

Discussions

PHP Fatal error: Uncaught Error: Call to undefined function ssh2_connect()

MichaelMueller
MichaelMueller Member Posts: 7 Blue Ribbon

Hi,

i would like to use PHP 7 on Oracle Linux 7. So i installed the repository ol7_developer_php72.

After new PHP-installation i tried to use ssh2_connect() in a web application.

But PHP/Apache said : Fatal error:  Uncaught Error: Call to undefined function ssh2_connect().

In PHP 5 package php-pecl-ssh2 was necessary, but in ol7_developer_php72 it isn't available.

Any idea ?

Thanks

Michael