You cannot see this page without javascript.

php에 ssh2 설치하여 sftp 사용가능

CentOS 조회 수 1215 추천 수 0 2016.03.10 08:53:00

yum install libssh2 libssh2-devel

 

git clone https://github.com/php/pecl-networking-ssh2
cd pecl-networking-ssh2

phpize

./configure

make

cd modules/ssh2.so /<php ext>/

 

생성된 ssh2.so 모듈을 php.ini 에 extension 한고

웹서버를 재시작하여 확인한다.

 

ssh2.png

 

첨부
엮인글 :
List of Articles
번호 제목 글쓴이 날짜 조회 수
369 APM mariadb download origin address LynX 2019-06-19 2009
368 APM What one can and should optimize LynX 2019-06-03 1423
367 CentOS mariadb install LynX 2019-05-31 1185
366 CentOS init mode change LynX 2019-05-30 1294
365 APM ext zip install LynX 2019-02-19 1618
364 APM ext ImageMagick install LynX 2019-02-19 530
363 3D Printer Pronterface(PrintRun) install file LynX 2018-09-13 754
362 CentOS Grub UUID change LynX 2018-08-08 880
361 Linux letsencrypt wildcard LynX 2018-07-26 798
360 Printer cura usb connection LynX 2018-07-06 668
359 CentOS cli 무선랜 LynX 2018-06-07 449
358 APM 윈도우에 APM 페키지 설치 file LynX 2018-05-04 627
357 APM MySQLTuner 설치 LynX 2018-04-27 546
356 CentOS CentOS7 커널 업데이트 LynX 2018-04-23 703
355 HTML Tag CSS 여러가지 모양 만들기 LynX 2018-02-08 773
354 Linux wkhtmltopdf wkhtmltoimage install LynX 2018-01-31 604
353 APM LZ4_LIBS Not Found (CentOS7, MariaDB 10.1.29) LynX 2018-01-03 503
352 APM mysql ./configure LynX 2017-12-15 806
351 APM PHP-7.2.0 LynX 2017-12-12 3157
350 Linux libiconv LynX 2017-12-08 558

XE Login