• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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