Support

Akeeba Solo

#30969 Your web server does not have the SSH2 PHP module

Posted in ‘Akeeba Solo (standalone)’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
Akeeba Solo version
n/a

Latest post by nicholas on Tuesday, 26 February 2019 01:17 CST

khampol
Hello,

I config backup remote to SFTP server and got this "Your web server does not have the SSH2 PHP module, therefore can not connect to SFTP servers."

I have wordpress + module and it can backup to my SFTP server no problem.

Help please.

tampe125
Akeeba Staff
Hello,

we're asking PHP to tell us the extension installed, so there's no way they aren't correct.
Please note that we're talking about SFTP (file transfer over SSH), not FTP, which is a different thing. You can safely ignore the warning if you don't plan to use SSH connections.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

khampol
My server is SFTP (FTP! ) So do u explain how can i get SSH2 PHP module ? (as web server we use VestaCP on ubuntu svr).

tampe125
Akeeba Staff
You should ask your host the steps required to enable the SSH module for your PHP version. This is something that can only be done server-side.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

khampol
I use a VPS. I open PUTTY now....

khampol
hello my friend Davide Tampellini. Could u help please ? I use VPS they wont help me there....

nicholas
Akeeba Staff
Manager
We cannot help with server configuration because we do not manage your server. This is what your hosting provider can do. A VPS is a virtual server, managed by your host. If you are managing your own server it's not a VPS but you also need to know how to configure it yourself.

Please note that having an SSH/SFTP server is NOT the same as having the PHP SSH2 module installed. These are two different and unrelated pieces of software. They have nothing to do with each other and they are even used for the complete opposite purpose. The SSH/SFTP server is what allows a client application to connect to your server and transfer files. The PHP SSH2 module is what allows PHP to act as an SSH/SFTP client application.

Again, you are asking us about server configuration which we can't help with because we are not managing your server. Please find the person managing your server and ask them to do that for you.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

khampol
Please find the person managing your server and ask them to do that for you.

They dont, and they wont....


nicholas
Akeeba Staff
Manager
Really?! I think you need to shout at them and then go to a different host. To give you an idea of how incredibly easy it is, on my Ubuntu server with PHP compiled from scratch all I have to do is:
pecl install ssh2-1.12

PECL is part of the standard PHP installation itself. This command downloads the SSH2 extension and installs it.

On the newer server that has PHP installed from a repository I just use apt install to install the SSH2 extension.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

khampol
I think you need to shout at them and then go to a different host....

LOL ! Noted :)

Ok I try command :

downloading ssh2-1.1.2.tgz ...
Starting to download ssh2-1.1.2.tgz (32,057 bytes)
.........done: 32,057 bytes
6 source files, building
running: phpize
sh: 1: phpize: not found
ERROR: `phpize' failed


Then I got :

The program 'phpize' is currently not installed. You can install it by typing:
apt install php7.0-dev


... I can do that ?? Here my spec...

PHP Version 7.0.33-0ubuntu0.16.04.1


:-/


nicholas
Akeeba Staff
Manager
Ask the person managing your server. I am NOT going to give you PHP build instructions. This is way out of scope of our support and I am NOT assuming responsibility for your server management.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!