но в моём случае, как и во многих других случаях на просторах всемирной паутины, запуск ни к че6му не привёл и сказал примерно этоphp_home\go-pear.bat
C:\Program Files\PHP>go-pear.bat
phar "C:\Program Files\PHP\PEAR\go-pear.phar" does not have a signatureДля продолжения нажмите любую клавишу . . .
поэтому побороздив гуглояндексные результаты сделал в go-pear.bat так
rem @ECHO OFFзапустил и получил
rem set PHP_BIN=php.exe
rem %PHP_BIN% -d output_buffering=0 PEAR\go-pear.phar
rem pause
@ECHO OFF
set PHP_BIN=php.exe
%PHP_BIN% -d output_buffering=0 -d phar.require_hash=0 PEAR\go-pear.phar
pause
C:\Program Files\PHP>go-pear.batдальше
phar "C:\Program Files\PHP\PEAR\go-pear.phar" does not have a signatureДля продолжения нажмите любую клавишу . . .
C:\Program Files\PHP>go-pear.bat
C:\Program Files\PHP>rem @ECHO OFF
C:\Program Files\PHP>rem set PHP_BIN=php.exe
C:\Program Files\PHP>rem -d output_buffering=0 PEAR\go-pear.phar
C:\Program Files\PHP>rem pause
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : local
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:\Program Files\PHP
2. Temporary directory for processing : C:\Program Files\PHP\tmp
3. Temporary directory for downloads : C:\Program Files\PHP\tmp
4. Binaries directory : C:\Program Files\PHP
5. PHP code directory ($php_dir) : C:\Program Files\PHP\pear
6. Documentation directory : C:\Program Files\PHP\docs
7. Data directory : C:\Program Files\PHP\data
8. User-modifiable configuration files directory : C:\Program Files\PHP\cfg
9. Public Web Files directory : C:\Program Files\PHP\www
10. Tests directory : C:\Program Files\PHP\tests
11. Name of configuration file : C:\Program Files\PHP\pear.ini
12. Path to CLI php.exe : .
1-12, 'all' or Enter to continue: тут жмём просто Enter
"".\php.exe"" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
*WARNING*
We found php.exe under ., it uses an unknown SAPI. PEAR commandline
tool has not been tested with it, if you have a CLI (or CGI) php.exe available,
we strongly recommend using it.
Beginning install...
Configuration written to C:\Program Files\PHP\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.3.tar...
installing phar://C:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar...
installing phar://C:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.8.0.tar...
installing phar://C:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.2.tar...
installing phar://C:/Program Files/PHP/PEAR/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.3
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/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.8.0
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:\Program Files\PHP, please remove it or be sure to use the new c:\program files\php\pear.bat command
The 'pear' command is now at your service at c:\program files\php\pear.bat
Для продолжения нажмите любую клавишу . . .
C:\Program Files\PHP>
и результатphp_home\pear upgrade PEAR
C:\Program Files\PHP>pear upgrade PEARГотово!
downloading PEAR-1.9.1.tgz ...
Starting to download PEAR-1.9.1.tgz (293,587 bytes)
.............................................................done: 293,587 bytes
downloading Archive_Tar-1.3.7.tgz ...
Starting to download Archive_Tar-1.3.7.tgz (17,610 bytes)
...done: 17,610 bytes
downloading Structures_Graph-1.0.3.tgz ...
Starting to download Structures_Graph-1.0.3.tgz (30,191 bytes)
...done: 30,191 bytes
upgrade ok: channel://pear.php.net/Archive_Tar-1.3.7
upgrade ok: channel://pear.php.net/Structures_Graph-1.0.3
upgrade ok: channel://pear.php.net/PEAR-1.9.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"
C:\Program Files\PHP>
Комментариев нет:
Отправить комментарий