ソース掲示板




すべてから検索

キーワード   条件 表示 現行ログ 過去ログ トピックス 名前 本文
PEAR のインストール ( No.2 )
日時: 2008/02/29 13:58
名前: lightbox



1) go-pear.bat を実行
( pear.ini を c:\php\pear )
エラーが出るが、気にしないで次へ

2) pear channel-update pear.php.net を実行
拡張子:
C:\php>pear channel-update pear.php.net
Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded
3) パッケージ別にインストール
拡張子:
pear install -f -a -o パッケージ名
コマンドラインスイッチについては、pear help install で参照できます ↓go-pear.bat の実行結果
拡張子:
C:\php>go-pear

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)        : C:\php
 2. Temporary directory for processing : C:\php\tmp
 3. Temporary directory for downloads  : C:\php\tmp
 4. Binaries directory                 : C:\php
 5. PHP code directory ($php_dir)      : C:\php\pear
 6. Documentation directory            : C:\php\pear\docs
 7. Data directory                     : C:\php\pear\data
 8. Tests directory                    : C:\php\pear\tests
 9. Name of configuration file         : C:\WINNT\pear.ini
10. Path to CLI php.exe                : C:\php\.

1-10, 'all' or Enter to continue: c:\php\pear\pear.ini

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)        : C:\php
 2. Temporary directory for processing : C:\php\tmp
 3. Temporary directory for downloads  : C:\php\tmp
 4. Binaries directory                 : C:\php
 5. PHP code directory ($php_dir)      : C:\php\pear
 6. Documentation directory            : C:\php\pear\docs
 7. Data directory                     : C:\php\pear\data
 8. Tests directory                    : C:\php\pear\tests
 9. Name of configuration file         : C:\WINNT\pear.ini
10. Path to CLI php.exe                : C:\php\.

1-10, 'all' or Enter to continue: 9
(Use $prefix as a shortcut for 'C:\php', etc.)
Name of configuration file [C:\WINNT\pear.ini] : c:\php\pear\pear.ini

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)        : C:\php
 2. Temporary directory for processing : C:\php\tmp
 3. Temporary directory for downloads  : C:\php\tmp
 4. Binaries directory                 : C:\php
 5. PHP code directory ($php_dir)      : C:\php\pear
 6. Documentation directory            : C:\php\pear\docs
 7. Data directory                     : C:\php\pear\data
 8. Tests directory                    : C:\php\pear\tests
 9. Name of configuration file         : c:\php\pear\pear.ini
10. Path to CLI php.exe                : C:\php\.

1-10, 'all' or Enter to continue:
Beginning install...
Configuration written to c:\php\pear\pear.ini...
Initialized registry...
Preparing to install...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.2.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.6.1.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.2.tar...
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
install ok: channel://pear.php.net/Archive_Tar-1.3.2
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/PEAR-1.6.1
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"

** WARNING! Old version found at C:\php, please remove it or be sure to use the new c:\php\pear.bat command

The 'pear' command is now at your service at c:\php\pear.bat


* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under C:\php\PEAR_ENV.reg .
This file creates ENV variables for the current user.

Double-click this file to add it to the current user registry.
↓パッケージ検索( 時間がかかるので注意 )
拡張子:
C:\php>pear search IMAGE
Retrieving data...0%....50%....MATCHED PACKAGES, CHANNEL PEAR.PHP.NET:
=======================================
PACKAGE         STABLE/(LATEST)  LOCAL
Image_3D        0.4.0 (alpha)          This class allows the rendering of 3 dimensional objects utilizing PHP.
Image_Barcode   1.1.0 (stable)         Barcode generation
Image_Canvas    0.3.1 (alpha)          A package providing a common interface to image drawing, making image source code
 independent on the library used.
Image_Color     1.0.2 (stable)         Manage and handles color data and conversions.
Image_Color2    0.1.4 (alpha)          Color conversion and mixing for PHP5
Image_GIS       1.1.1 (stable)         Visualization of GIS data.
Image_Graph     0.7.2 (alpha)          A package for displaying (numerical) data as a graph/chart/plot.
Image_GraphViz  1.3.0RC3 (beta)        Interface to AT&T's GraphViz tools
Image_IPTC      1.0.2 (stable)         Extract, modify, and save IPTC data
Image_MonoBMP   0.1.0 (beta)           Manipulate monochrome BMP images
Image_Puzzle    0.2.1 (beta)           Generates puzzle pieces from image file.
Image_Remote    1.0.1 (stable)         Retrieve information on remote image files.
Image_Text      0.6.0beta (beta)       Image_Text - Advanced text maipulations in images.
Image_Tools     0.4.2 (beta)           Tools collection for image manipulation.
Image_Transform 0.9.1 (alpha)          Provides a standard interface to manipulate images using different libraries
Image_WBMP      0.1.0 (alpha)          Manipulate WBMP images
Image_XBM       0.9.0RC1 (beta)        Manipulate XBM images
XML_image2svg   0.1 (stable)           Image to SVG conversion
XML_svg2image   0.1 (beta)             Converts a svg  file to a png/jpeg image