【PHP】WindowsにHTTP_Clientをインストール
http://kato.issp.u-tokyo.ac.jp/pukiwiki/index.php?PHP
ここに書いてあったけど、自分で実行した結果も残しておく。
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\WINDOWS\system32>cd C:\cassowary\php-5.2.6-Win32 C:\cassowary\php-5.2.6-Win32>go-pear.bat install HTTP_Client Are you installing a system-wide PEAR or a local copy? (system|local) [system] : PEAR Please confirm local copy by typing 'yes' : yes 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:\cassowary\php-5.2.6-Win32 2. Temporary directory for processing : C:\cassowary\php-5.2.6-Win32\tmp 3. Temporary directory for downloads : C:\cassowary\php-5.2.6-Win32\tmp 4. Binaries directory : C:\cassowary\php-5.2.6-Win32 5. PHP code directory ($php_dir) : C:\cassowary\php-5.2.6-Win32\pea r 6. Documentation directory : C:\cassowary\php-5.2.6-Win32\doc s 7. Data directory : C:\cassowary\php-5.2.6-Win32\dat a 8. User-modifiable configuration files directory : C:\cassowary\php-5.2.6-Win32\cfg 9. Public Web Files directory : C:\cassowary\php-5.2.6-Win32\www 10. Tests directory : C:\cassowary\php-5.2.6-Win32\tes ts 11. Name of configuration file : C:\cassowary\php-5.2.6-Win32\pea r.ini 12. Path to CLI php.exe : C:\cassowary\php-5.2.6-Win32\. 1-12, 'all' or Enter to continue: Beginning install... Configuration written to C:\cassowary\php-5.2.6-Win32\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.7.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.7.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! The include_path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified: <C:\cassowary\php-5.2.6-Win32\pear> If the specified directory is also not in the include_path used by your scripts, you will have problems getting any PEAR packages working. Current include path : .;C:\php5\pear Configured directory : C:\cassowary\php-5.2.6-Win32\pear Currently used php.ini (guess) : Press Enter to continue: ** WARNING! Old version found at C:\cassowary\php-5.2.6-Win32, please remove it or b e sure to use the new c:\cassowary\php-5.2.6-win32\pear.bat command The 'pear' command is now at your service at c:\cassowary\php-5.2.6-win32\pear.bat ** The 'pear' command is not currently in your PATH, so you need to ** use 'c:\cassowary\php-5.2.6-win32\pear.bat' until you have added ** 'C:\cassowary\php-5.2.6-Win32' 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://pear.php.net/manual/ Thanks for using go-pear! 続行するには何かキーを押してください . . . C:\cassowary\php-5.2.6-Win32>