使用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
也可以在Linux上重現。 – Outpox
PEAR 1.10.3問題 - http://pear.php.net/bugs/bug.php?id=21190 – cweiske