ユーザ用ツール

サイト用ツール


php:pear

pear

  • Install

PHP 5.2.x

# yum -y --enablerepo=utterramblings install php-pear

PHP 5.3.x

# yum -y --enablerepo=remi install php-pear
  • インストール確認
 # pear
 Commands:
 build                  Build an Extension From C Source
 bundle                 Unpacks a Pecl Package
 channel-add            Add a Channel
 channel-alias          Specify an alias to a channel name
 channel-delete         Remove a Channel From the List
 ~
  • バージョン確認
 # pear version
 PEAR Version: 1.9.1
 PHP Version: 5.3.5
 Zend Engine Version: 2.3.0
 Running on: Linux localhost.localdomain 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64
  • パス確認
 # pear config-get php_dir
 /usr/share/pear
  • いろいろな情報確認
 # pear config-show
 Configuration (channel pear.php.net):
 =====================================
 Auto-discover new Channels     auto_discover    <not set>
 Default Channel                default_channel  pear.php.net
 HTTP Proxy Server Address      http_proxy       <not set>
 PEAR server [DEPRECATED]       master_server    pear.php.net
 ~
php/pear.txt · 最終更新: 2014/04/18 06:07 by clownclown

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki