尝试安装go-pear.phar
时不断出现错误
这是错误,在对问题Enter
击中1-13, 'all' or Enter to continue:
之后,>
1-13, 'all' or Enter to continue: **ERROR** Please, enter the php.exe path.
我也在环境路径中也安装了php。我确实与
php --version
核对并收到消息
C:\xampp\php>php --version PHP 7.2.31 (cli) (built: May 12 2020 10:26:32) ( ZTS MSVC15 (Visual C++ 2017) x64 ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
所以我继续使用命令安装
go-pear.phar
。但是我一直陷在上面的错误中。
C:\xampp\php>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:\xampp\php
2. Temporary directory for processing : C:\xampp\php\tmp
3. Temporary directory for downloads : C:\xampp\php\tmp
4. Binaries directory : C:\xampp\php
5. PHP code directory ($php_dir) : C:\xampp\php\pear
6. Documentation directory : C:\xampp\php\docs
7. Data directory : C:\xampp\php\data
8. User-modifiable configuration files directory : C:\xampp\php\cfg
9. Public Web Files directory : C:\xampp\php\www
10. System manual pages directory : C:\xampp\php\man
11. Tests directory : C:\xampp\php\tests
12. Name of configuration file : C:\WINDOWS\pear.ini
13. Path to CLI php.exe :
1-13, 'all' or Enter to continue:
**ERROR**
Please, enter the php.exe path.
尝试安装go-pear.phar时不断出错,这是错误,在按Enter键输入问题1-13,'all'或Enter继续:1-13,'all'或Enter继续:* *错误**,请...
我也遇到了这个问题,经过多次尝试,我终于使它起作用。