PHPUnitをインストールするために、wamp2.1(Apache2.2.17、PHP5.3.5 MSVC6x32)にpearをすべてwin7x64にインストールしましたが、すべてうまくいきましたが、実行すると
pear config-show
予期しない出力が得られる
特別なディレクトリが、インストール時に設定したものとは異なります。これは正常ですか?
C:\wamp21\bin\php\php5.3.5\PEAR>pear config-show
CONFIGURATION (CHANNEL PEAR.PHP.NET):
=====================================
PEAR executables directory bin_dir C:\wamp21\bin\php\php5.3.5\PEAR
PEAR documentation directory doc_dir C:\php\pear\docs
PHP extension directory ext_dir c:/wamp21/bin/php/php5.3.5/ext/
PEAR directory php_dir C:\wamp21\bin\php\php5.3.5\PEAR\pear
PEAR configuration file cfg_dir C:\php\pear\cfg
directory
PEAR data directory data_dir C:\php\pear\data
.....
これは、pear の cli インストールからの抜粋です。
C:\wamp21\bin\php\php5.3.5\PEAR>php -d phar.require_hash=0 go-pear.phar
1. Installation base ($prefix) : C:\wamp21\bin\php\php5.3.5\PEAR
2. Temporary directory for processing : C:\wamp21\bin\php\php5.3.5\PEAR\tmp
3. Temporary directory for downloads : C:\wamp21\bin\php\php5.3.5\PEAR\tmp
4. Binaries directory : C:\wamp21\bin\php\php5.3.5\PEAR
5. PHP code directory ($php_dir) : C:\wamp21\bin\php\php5.3.5\PEAR\pear
6. Documentation directory : C:\wamp21\bin\php\php5.3.5\PEAR\docs
7. Data directory : C:\wamp21\bin\php\php5.3.5\PEAR\data
8. User-modifiable configuration files directory : C:\wamp21\bin\php\php5.3.5\PEAR\cfg
9. Public Web Files directory : C:\wamp21\bin\php\php5.3.5\PEAR\www
10. Tests directory : C:\wamp21\bin\php\php5.3.5\PEAR\tests
11. Name of configuration file : C:\wamp21\bin\php\php5.3.5\PEAR\pear.ini
12. Path to CLI php.exe : C:\wamp21\bin\php\php5.3.5
....
Pear を C:\wamp21\bin\php\php5.3.5\PEAR にインストールしますが、現在は 2 つのディレクトリ データ、ドキュメント、テストがあります。
C:\php\ナシ\データ
C:\php\ナシ\docs
C:\php\pear\tests
C:\wamp21\bin\php\php5.3.5\PEAR\data
C:\wamp21\bin\php\php5.3.5\PEAR\docs
C:\wamp21\bin\php\php5.3.5\PEAR\tests
サブディレクトリで