*1) 요청 pear 패키지 여부 확인*
[root@q552-0975 /opt/php/bin]# ./pear search Message
Retrieving data...0%
Matched packages, channel pear.php.net:
=======================================
Package Stable/(Latest) Local
Message 0.6 (beta) Message hash and digest (HMAC) generation methods and classes
[root@q552-0975 /opt/php/bin]# ./pear search HTTP_Request
Retrieving data...0%
.Matched packages, channel pear.php.net:
=======================================
Package Stable/(Latest) Local
HTTP_Request 1.4.4 (stable) Provides an easy way to perform HTTP requests
HTTP_Request2 2.4.1 (stable) Provides an easy way to perform HTTP requests.
*2) 해당 패키지 설치*
- Message 설치
[root@q552-0975 /opt/php/bin]# ./pear install Message-0.6
downloading Message-0.6.tgz ...
Starting to download Message-0.6.tgz (12,622 bytes)
.....done: 12,622 bytes
install ok: channel://pear.php.net/Message-0.6
- HTTP_Request 설치
[root@q552-0975 /opt/php/bin]# ./pear install HTTP_Request
WARNING: "pear/HTTP_Request" is deprecated in favor of "pear/HTTP_Request2"
WARNING: "pear/Net_URL" is deprecated in favor of "pear/Net_URL2"
downloading HTTP_Request-1.4.4.tgz ...
Starting to download HTTP_Request-1.4.4.tgz (17,233 bytes)
......done: 17,233 bytes
downloading Net_URL-1.0.15.tgz ...
Starting to download Net_URL-1.0.15.tgz (6,393 bytes)
...done: 6,393 bytes
downloading Net_Socket-1.2.2.tgz ...
Starting to download Net_Socket-1.2.2.tgz (6,903 bytes)
...done: 6,903 bytes
install ok: channel://pear.php.net/Net_URL-1.0.15
install ok: channel://pear.php.net/Net_Socket-1.2.2
install ok: channel://pear.php.net/HTTP_Request-1.4.4
'On-premise > php' 카테고리의 다른 글
| php 모듈 변경 작업 (0) | 2023.11.06 |
|---|---|
| php mhash 모듈 추가 (0) | 2023.11.06 |
| php 7.3 설치 (mariadb 10.0 과 연동시) (0) | 2023.11.06 |
| Php 7.0.21 소스 설치 (0) | 2023.11.06 |
| PHP 5.6.40 소스 설치 (MariaDB 10.3 연동) (0) | 2023.11.06 |