php에도 perl의 cpan install manager와 같은 install manager가 있었다 이름하여~~pear 흐흐..
root계정에서 pear의 실행이 가능하도록 설정한 후 간단히 실행하면 된다.
1. HTTP/Request 설치
# pear install Http_Request
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading HTTP_Request-1.4.1.tgz ...
Starting to download HTTP_Request-1.4.1.tgz (15,927 bytes)
......done: 15,927 bytes
downloading Net_URL-1.0.15.tgz ...
Starting to download Net_URL-1.0.15.tgz (6,303 bytes)
...done: 6,303 bytes
install ok: channel://pear.php.net/Net_URL-1.0.15
install ok: channel://pear.php.net/HTTP_Request-1.4.1
2. Net/Socket 설치
pear install Net_Socket
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading Net_Socket-1.0.8.tgz ...
Starting to download Net_Socket-1.0.8.tgz (5,441 bytes)
.....done: 5,441 bytes
install ok: channel://pear.php.net/Net_Socket-1.0.8
댓글 없음:
댓글 쓰기