PEAR, PECL

Jmnote bot (토론 | 기여)님의 2017년 6월 27일 (화) 12:05 판 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==))
  다른 뜻에 대해서는 피클 문서를 참조하십시오.
PHP Extension and Application Repository; PEAR
PHP 익스텐션 및 애플리케이션 저장소; 피어
/usr/bin/pear
PHP Extension Community Library; PECL
PHP 확장모듈 커뮤니티 라이브러리; 피클
/usr/bin/pecl

1 PEAR

  • PHP 확장모듈 프레임워크 및 배포 시스템
  • 되도록이면 이것 대신 composer 사용을 권장함[1]
[root@zetawiki ~]# cat /usr/bin/pear
#!/bin/sh
exec /usr/bin/php -C -d include_path=/usr/share/pear \
    -d output_buffering=1 /usr/share/pear/pearcmd.php "$@"
 

2 PECL

  • PHP 확장모듈 저장소
  • 자매 저장소 PEAR와 공유됨
  • deprecated
 

2.1 기본값

pecl은 알고 보면 리눅스쉘에서 peclcmd.php를 돌리는 스크립트이다.

[root@zetawiki ~]# cat /usr/bin/pecl
#!/bin/sh
exec /usr/bin/php -C -n -q -d include_path=/usr/share/pear \
    -d output_buffering=1 /usr/share/pear/peclcmd.php "$@"

3 같이 보기

4 참고

  1. composer가 유연한 라이브러리 관리가 가능하며, PHP 업그레이드시에 매우 유리함
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}