1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
| c:\wamp\bin\php\php5.2.9>cd PEAR
c:\wamp\bin\php\php5.2.9\PEAR>php go-pear.phar
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:\wamp\bin\php\php5.2.9\PEA
R
2. Temporary directory for processing : c:\wamp\bin\php\php5.2.9\PEA
R\tmp
3. Temporary directory for downloads : c:\wamp\bin\php\php5.2.9\PEA
R\tmp
4. Binaries directory : c:\wamp\bin\php\php5.2.9\PEA
R
5. PHP code directory ($php_dir) : c:\wamp\bin\php\php5.2.9\PEA
R\pear
6. Documentation directory : c:\wamp\bin\php\php5.2.9\PEA
R\docs
7. Data directory : c:\wamp\bin\php\php5.2.9\PEA
R\data
8. User-modifiable configuration files directory : c:\wamp\bin\php\php5.2.9\PEA
R\cfg
9. Public Web Files directory : c:\wamp\bin\php\php5.2.9\PEA
R\www
10. Tests directory : c:\wamp\bin\php\php5.2.9\PEA
R\tests
11. Name of configuration file : C:\wamp\bin\php\php5.3.9\pea
r.ini
12. Path to CLI php.exe : C:\wamp\bin\php\php5.3.9
1-12, 'all' or Enter to continue: 11
(Use $prefix as a shortcut for 'c:\wamp\bin\php\php5.2.9\PEAR', etc.)
Name of configuration file [C:\wamp\bin\php\php5.3.9\pear.ini] : C:\Windows\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:\wamp\bin\php\php5.2.9\PEA
R
2. Temporary directory for processing : c:\wamp\bin\php\php5.2.9\PEA
R\tmp
3. Temporary directory for downloads : c:\wamp\bin\php\php5.2.9\PEA
R\tmp
4. Binaries directory : c:\wamp\bin\php\php5.2.9\PEA
R
5. PHP code directory ($php_dir) : c:\wamp\bin\php\php5.2.9\PEA
R\pear
6. Documentation directory : c:\wamp\bin\php\php5.2.9\PEA
R\docs
7. Data directory : c:\wamp\bin\php\php5.2.9\PEA
R\data
8. User-modifiable configuration files directory : c:\wamp\bin\php\php5.2.9\PEA
R\cfg
9. Public Web Files directory : c:\wamp\bin\php\php5.2.9\PEA
R\www
10. Tests directory : c:\wamp\bin\php\php5.2.9\PEA
R\tests
11. Name of configuration file : C:\Windows\pear.ini
12. Path to CLI php.exe : C:\wamp\bin\php\php5.3.9
1-12, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\Windows\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.2.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.2
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:\wamp\bin\php\php5.2.9\PEAR\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:\wamp\bin\php\php5.2.9\php.ini>? [Y/n] : Y
php.ini <C:\wamp\bin\php\php5.2.9\php.ini> include_path updated.
Current include path : .;C:\php5\pear
Configured directory : c:\wamp\bin\php\php5.2.9\PEAR\pear
Currently used php.ini (guess) : C:\wamp\bin\php\php5.2.9\php.ini
Press Enter to continue:
** WARNING! Old version found at c:\wamp\bin\php\php5.2.9\PEAR, please remove it
or be sure to use the new c:\wamp\bin\php\php5.2.9\pear\pear.bat command
The 'pear' command is now at your service at c:\wamp\bin\php\php5.2.9\pear\pear.
bat
** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\wamp\bin\php\php5.2.9\pear\pear.bat' until you have added
** 'c:\wamp\bin\php\php5.2.9\PEAR' 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!
* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under c:\wamp\bin\php\php5.2.9\PEAR\PEA
R_ENV.reg .
This file creates ENV variables for the current user.
Double-click this file to add it to the current user registry.
c:\wamp\bin\php\php5.2.9\PEAR> |
Partager