Ask Your Question
2

What happens when SFTP is used with PHP and SSH2 is necessary, but PHP version 8 or higher does not support SSH2?

asked 2022-09-20 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-09-08 11:00:00 +0000

lalupa gravatar image

If PHP version 8 or higher does not support SSH2, then it is not possible to establish an SFTP connection using SSH2 with PHP. In this case, alternative libraries or methods can be used to establish an SFTP connection, such as phpseclib or the ssh2 PECL extension. Alternatively, upgrading the PHP version to one that supports SSH2 may be an option, or using a different programming language that supports SFTP connections with SSH2.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-09-20 11:00:00 +0000

Seen: 8 times

Last updated: Sep 08 '22