2017-03-01 50 views
1

使用Mac OS X Sierra。OS X go-pear.phar未能打開PEAR /代理不是phar中的文件

試圖安裝pear,但導致PEAR/Proxy的錯誤不是phar中的文件。非常奇怪。有想法傢伙?

PHP -d detect_unicode = 0細末pear.phar

1-12, 'all' or Enter to continue: 
Beginning install... 
Configuration written to /Users/louie/.pearrc... 
Initialized registry... 
Preparing to install... 

installing phar:///Users/louie/Development/project/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.4.2.tar... 
installing phar:///Users/louie/Development/project/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.4.1.tar... 
installing phar:///Users/louie/Development/project/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.10.3.tar... 
installing phar:///Users/louie/Development/project/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.1.1.tar... 
installing phar:///Users/louie/Development/project/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.4.2.tar... 

PHP Warning: require_once(phar://go-pear.phar/PEAR/Proxy.php): failed to open stream: phar error: "PEAR/Proxy.php" is not a file in phar "go-pear.phar" in phar:///Users/louie/Development/project/go-pear.phar/PEAR/Downloader.php on line 23 

Warning: require_once(phar://go-pear.phar/PEAR/Proxy.php): failed to open stream: phar error: "PEAR/Proxy.php" is not a file in phar "go-pear.phar" in phar:///Users/louie/Development/project/go-pear.phar/PEAR/Downloader.php on line 23 
+0

也可以在Linux上重現。 – Outpox

+1

PEAR 1.10.3問題 - http://pear.php.net/bugs/bug.php?id=21190 – cweiske

回答

0

我也面臨這個問題。我認爲梨套裝的最新版本有問題。我安裝了一個老的,工作正常。

1

一個新文件從phar中丟失......剛剛發佈的pearweb_phars-1.10.4中已更正。梨網站上的phars現在更新。