php같은 경우 module을 여러 관리 프로그램으로 install하네..희안하네~

# pecl install json
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading json-1.2.1.tgz ...
Starting to download json-1.2.1.tgz (17,780 bytes)
......done: 17,780 bytes
11 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
TAG json, pear, php
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
TAG pear, Requst

PERL의 CPAN처럼 Reusable한 module들을 설치 할 수 있는 util인듯

url: http://pear.php.net/index.php

여기서 SOAP Client관련 모듈을 다운 받아 개발 하려 한다.


PEAR Installer 설치 on Linux
In PHP 5.0.0+, the PHP CLI binary is php.exe
#
#  > php -r "readfile('http://pear.php.net/go-pear');" > go-pear
#  > php go-pear


# 설치 완료 화면
The 'pear' command is now at your service at /usr/local/php/bin/pear

** The 'pear' command is not currently in your PATH, so you need to
** use '/usr/local/php/bin/pear' until you have added
** '/usr/local/php/bin' to your PATH environment variable.

Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.

For more information about PEAR, see:

  http://pear.php.net/faq.php
  http://cvs.php.net/co.php/pearweb/doc/pear_package_manager.txt?p=1
  http://pear.php.net/manual/

Thanks for using go-pear!

TEST
pear install  SOAP

TAG pear, php, soap