自分のPHP周り
Version:5.2.5
インストールディレクトリ:c:\server\PHP
phpをインストールした時についてたgo-pear.batを普通に実行
C:\server\PHP>go-pear.batsystemかlocalか聞かれる。なんだかわかんないけどlocalを
選択。
Are you installing a system-wide PEAR or a local copy? (system|local) [system] : locallocalインストールか確認をされた。'yes'ですよ。
Please confirm local copy by typing 'yes' : yesPATH情報を適宜変更してくれってことだろうけど、PHPのインストールディレクトリに入れたいんでそのままEnterキーを押す。
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:\server\PHP 2. Temporary directory for processing : C:\server\PHP\tmp 3. Temporary directory for downloads : C:\server\PHP\tmp 4. Binaries directory : C:\server\PHP 5. PHP code directory ($php_dir) : C:\server\PHP\pear 6. Documentation directory : C:\server\PHP\pear\docs 7. Data directory : C:\server\PHP\pear\data 8. Tests directory : C:\server\PHP\pear\tests 9. Name of configuration file : C:\server\PHP\pear.ini 10. Path to CLI php.exe : C:\server\PHP\. 1-10, 'all' or Enter to continue:インストール。途中でワーニングが出てるけど、pearは実行
出来るんかな?
Beginning install... Configuration written to C:\server\PHP\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:\server\PHP, please remove it or be sure to u se the new c:\server\php\pear.bat command The 'pear' command is now at your service at c:\server\php\pear.bat 続行するには何かキーを押してください . . .
とりあえず動くか実験。オプションでlistを指定して実行
C:\server\PHP>pear list INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET: ========================================= PACKAGE VERSION STATE Archive_Tar 1.3.2 stable Console_Getopt 1.2.3 stable PEAR 1.6.1 stable Structures_Graph 1.0.2 stableうん、OKw
0 件のコメント :
コメントを投稿