• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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