コマンドプロンプトを立ち上げ
c:\xampp\php
へ移動
pear
list コマンドを使って
現在インストールされているリストを表示
C:\xampp\php>pear list
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE VERSION STATE
Archive_Tar 1.3.2 stable
Console_Getargs 1.3.4 stable
Console_Getopt 1.2.3 stable
MDB2 2.4.1 stable
MDB2_Driver_mysql 1.4.1 stable
MDB2_Driver_mysqli 1.4.1 stable
PEAR 1.7.1 stable
PEAR_Info 1.9.2 stable
Structures_Graph 1.0.2 stable
このような形ででてくるが、これはインストールした後の結果
MDB2_Driver_mysql をインストールする前
C:\xampp\php>pear list
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE VERSION STATE
Archive_Tar 1.3.2 stable
Console_Getargs 1.3.4 stable
Console_Getopt 1.2.3 stable
MDB2 2.4.1 stable
MDB2_Driver_mysqli 1.4.1 stable
PEAR 1.7.1 stable
PEAR_Info 1.9.2 stable
Structures_Graph 1.0.2 stable
★★ここでインストール
C:\xampp\php>pear install MDB2_Driver_mysql
downloading MDB2_Driver_mysql-1.4.1.tgz ...
Starting to download MDB2_Driver_mysql-1.4.1.tgz (36,481 bytes)
..........done: 36,481 bytes
install ok: channel://pear.php.net/MDB2_Driver_mysql-1.4.1
最終更新:2009年04月18日 00:26