环境叙述
OS:windows xp sp2
language:CHS
webserver:AppSrv2.59
Time:2008-04-04(日期不祥,4谐音“死”,刚好又是清明节,有点怕怕的感觉.)
1.My Webserver install this is disk of "d" my computer .
2.open the CMD.
3.find the webserver install path.(eg:my install in the d:)
4. run "D:\AppServ\php5\go-pear.bat"
5.
D:\AppServ\php5>go-pear.bat
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : yes
Please confirm local copy by typing 'yes' : yes
(system|local) [system] : yes
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.
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) : D:\AppServ\php5
2. Temporary directory for processing : D:\AppServ\php5\tmp
3. Temporary directory for downloads : D:\AppServ\php5\tmp
4. Binaries directory : D:\AppServ\php5
5. PHP code directory ($php_dir) : D:\AppServ\php5\pear
6. Documentation directory : D:\AppServ\php5\pear\docs
7. Data directory : D:\AppServ\php5\pear\data
8. Tests directory : D:\AppServ\php5\pear\tests
9. Name of configuration file : D:\AppServ\php5\pear.ini
10. Path to CLI php.exe : D:\AppServ\php5\.
2. Temporary directory for processing : D:\AppServ\php5\tmp
3. Temporary directory for downloads : D:\AppServ\php5\tmp
4. Binaries directory : D:\AppServ\php5
5. PHP code directory ($php_dir) : D:\AppServ\php5\pear
6. Documentation directory : D:\AppServ\php5\pear\docs
7. Data directory : D:\AppServ\php5\pear\data
8. Tests directory : D:\AppServ\php5\pear\tests
9. Name of configuration file : D:\AppServ\php5\pear.ini
10. Path to CLI php.exe : D:\AppServ\php5\.
1-10, 'all' or Enter to continue:
all(press enter )
Beginning install...
Configuration written to D:\AppServ\php5\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.2.tar...
Beginning install...
Configuration written to D:\AppServ\php5\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.2.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.5.4.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.2
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/PEAR-1.5.4
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)
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.2
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/PEAR-1.5.4
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:
<D:\AppServ\php5\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.
WARNING! The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
<D:\AppServ\php5\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.
Would you like to alter php.ini <C:\WINDOWS\php.ini>? [Y/n] : Y
php.ini <C:\WINDOWS\php.ini> include_path updated.
Current include path : d:\appservr\php5\pear;c:\appserv\php5\pear
Configured directory : D:\AppServ\php5\pear
Currently used php.ini (guess) : C:\WINDOWS\php.ini
Press Enter to continue:
Configured directory : D:\AppServ\php5\pear
Currently used php.ini (guess) : C:\WINDOWS\php.ini
Press Enter to continue:
** WARNING! Old version found at D:\AppServ\php5, please remove it or be sure to
use the new d:\appserv\php5\pear.bat command
use the new d:\appserv\php5\pear.bat command
The 'pear' command is now at your service at d:\appserv\php5\pear.bat
请按任意键继续. . .
请按任意键继续. . .
The red word is myself keyin.