Cài đặt phần mở rộng php ssh2 CentOS

Trong các ví dụ được hiển thị, thay thế "X. Y" bằng phiên bản PHP của ứng dụng của bạn [ví dụ: "5. 4" hoặc "7. 1"]. Để cài đặt tiện ích mở rộng PECL cho nhiều phiên bản PHP, hãy lặp lại cài đặt tiện ích mở rộng PECL cho từng phiên bản PHP

Tiện ích mở rộng SSH2 cung cấp các chức năng để truy cập các máy từ xa bằng giao thức SSH và SFTP an toàn

Cài đặt tiện ích mở rộng SSH2 trên PHP 7. 3

Tiện ích mở rộng này chưa hỗ trợ PHP 7. 3

Cài đặt tiện ích mở rộng SSH2 trên PHP 7. 0, 7. 1 hoặc 7. 2

Ghi chú. Tiện ích mở rộng SSH2 hỗ trợ cho PHP 7 hiện đang ở giai đoạn alpha

Để cài đặt tiện ích mở rộng này trên PHP 5. 4, 5. 5 hoặc 5. 6, SSH với quyền root và chạy phần sau trên máy chủ của bạn

Thông tin để cài đặt phần mở rộng PECL này có thể được tìm thấy trong chương hướng dẫn có tiêu đề Cài đặt phần mở rộng PECL. Thông tin bổ sung như bản phát hành mới, bản tải xuống, tệp nguồn, thông tin người bảo trì và CHANGELOG, có thể được đặt tại đây. » https. //pecl. php. mạng/gói/ssh2

Windows nhị phân [tệp DLL] cho phần mở rộng PECL này có sẵn từ trang web PECL

zizifu tại gmail dot com ¶

CentOS 6.2 64bit Installation Steps:

1. download the libssh2 package from //libssh2.org, command as following:
tar vxzf libssh2-1.4.2.tar.gz
cd libssh2-1.4.2
./configure
make
make install

2. download the php-ssh2 package from //pecl.php.net/package/ssh2:

tar vxzf ssh2-0.11.3
cd ssh2-0.11.3
phpize
./configure --with-ssh2
make
make install

and the ssh2.so file will copy into /usr/lib64/php/modules
check it.

3. modify the php.ini

vi /etc/php.ini

add the "extension=ssh2.so" to the extension part of php.ini

4. check the environment of php, use phpinfo[];

5. enjoy

francewhoa+php dot net at ubertus dot ca ¶

Steps to install "ssh2" on Debian Jessie 8

1. Using Terminal as Root. Run the following command to install the extension package.

apt-get install php5-ssh2

2. Restart Apache2 server

service apache2 restart

dreadwestern tại gmail dot com ¶

Steps for installing the extension package on Debian systems:

________số 8

stanislav dot eckert và vizson dot de ¶

[Editor's note: unless you have special demands, use the appropriate deps package from .]

SSH2 for Windows is not available from the authors of the extension. But compiled binaries are available from the Apache Lounge [which is recommended by the php.net website too].

Link for PHP 5.3, 5.4, 5.5, 5.6 and 7.0:
//www.apachelounge.com/viewtopic.php?t=6359

This binaries contain a lot [maybe even all?] for Windows compiled PHP extensions, like the SSH2 extension.

Please note that it is also highly recommended to use their Windows binary builds for the Apache HTTP server from here: //www.apachelounge.com/download/

Older versions can be choosen from the left menu [VC11, VC10, etc.] if required.

php.net also recommends to use the binary builds from the Apache Lounge.

5. enjoy0

imedina tại Grosshat dot com ¶

5. enjoy1

5. enjoy2

thông tin tại kgsw dot de ¶

5. enjoy3

5. enjoy4

5. enjoy5

pedr0 ¶

5. enjoy6

5. enjoy7

5. enjoy8

5. enjoy9

Steps to install "ssh2" on Debian Jessie 80

Steps to install "ssh2" on Debian Jessie 81

Sadhooklay AT gmail. com ¶

Steps to install "ssh2" on Debian Jessie 82

Steps to install "ssh2" on Debian Jessie 83

warpman tại gmail dot com ¶

Steps to install "ssh2" on Debian Jessie 84

Steps to install "ssh2" on Debian Jessie 85

Steps to install "ssh2" on Debian Jessie 86

Steps to install "ssh2" on Debian Jessie 87

Steps to install "ssh2" on Debian Jessie 88

Steps to install "ssh2" on Debian Jessie 89

1. Using Terminal as Root. Run the following command to install the extension package.0

chris tại 3menandarecorder dot com ¶

1. Using Terminal as Root. Run the following command to install the extension package.1

1. Using Terminal as Root. Run the following command to install the extension package.2

1. Using Terminal as Root. Run the following command to install the extension package.3

arie dot mail tại gmail dot com ¶

1. Using Terminal as Root. Run the following command to install the extension package.4

1. Using Terminal as Root. Run the following command to install the extension package.5

1. Using Terminal as Root. Run the following command to install the extension package.6

Chủ Đề