• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Installing ssh2 with php 7 on a centos 7

python

Regular Pleskian
Until now I used the ssh2 library of php with php5. But I need to use it in php7 is a centos 7. search and I did not find how to install the library.
Is it possible to use ssh2 in php7?
I need help installing it.
 
Hi, thank you very much for your help.
If the last version compatible with php7 is beta, better not install at the moment.
I need this library to create and deactivate a task.
That said that another alternative I have?

The task to be managed is always the same only that it works short periods of time.
Try to comment the line of the task with the apache user but I could not by permissions issues, cron are created with root permissions, just like this comment is not very recommendable.
What do you think, any solution?
Or to activate and deactivate tasks with the beta already worth?

Anyway install this version, but it gives me the following error to verify that it works with the command:
/opt/plesk/php/7.0/bin/php -m | grep ssh2
error:
PHP: Syntax error, unexpected '(' in /opt/plesk/php/7.0/etc/php.d/ssh2.ini on line 38

How can i fix this?

regards
 
Last edited:
PHP: Syntax error, unexpected '(' in /opt/plesk/php/7.0/etc/php.d/ssh2.ini on line 38

There is only one line after command

# echo "extension=ssh2.so" > /opt/plesk/php/7.0/etc/php.d/ssh2.ini

This line is:

# cat /opt/plesk/php/7.0/etc/php.d/ssh2.ini
extension=ssh2.so

So, fix your /opt/plesk/php/7.0/etc/php.d/ssh2.ini file.
 
Back
Top