无法在Windows 10 + Laragon中安装梨

时间:2019-04-01 18:00:45

标签: php pear laragon

我正在尝试在W10 + Laragon(php 7.2)中安装PEAR,但出现此错误:

Beginning install...
Configuration written to C:\Windows\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.4.5.tar...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.4.2.tar...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.10.8.tar...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.1.1.tar...
installing phar://C:/laragon/bin/pear/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.4.3.tar...
installing PEAR-1.10.9.tar...

Warning: require_once(phar://go-pear.phar/PEAR/REST/13.php): failed to open stream: phar error: "PEAR/REST/13.php" is not a file in phar "go-pear.phar" in phar://C:/laragon/bin/pear/go-pear.phar/PEAR/Config.php on line 2067

我刚刚从https://pear.php.net/go-pear.phar下载了go-pear.phar

并且我按照本教程中的一些说明进行操作:

https://youtu.be/b1v9nwVxjTg?t=1025

但是,我总是得到这个错误...

有什么主意吗?

最好的问候

0 个答案:

没有答案