• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question ssh2 - Centos 6.8

Meruem

New Pleskian
Hi,

I use this link ( How to Install SSH2 extension for PHP RHEL/CentOS 7 ) to install ssh2 on my web server.

The installation was successful.

But when i use the commande php -i | grep ssh2 , he return this :
/etc/php.ini
ssh2

But I use not standard folder for my web server. The path is /opt/rh/rhttpd/var/root/etc/php.ini. How i can set this right folder to ssh2.

I Also check phpinfo page, i dont see ssh2 section.

I when i try ssh2 commande un php page, i have this error : Call to undefined function ssh2_connect()

Thank you for help !!!
 
Do you have Plesk server? And website managed by Plesk? What version of PHP handler do you use for this site? If you use Plesk PHP handler, you should compile ssh2 module for this PHP handler. For example, for CentOs7 and Plesk PHP7 you can use method described by me here Resolved - Installing ssh2 with php 7 on a centos 7
 
No Plesk server use. No server managed by Plesk. PHP version 5.3.3
In this case, why did you write your question in the forum section about Plesk Onyx? I move it to Open Topics.
 
Back
Top