ZendServer正在Windows上安装PEAR。无法提取package.xml文件

ZendServer正在Windows上安装PEAR。无法提取package.xml文件,windows,powershell,installation,pear,zend-server,Windows,Powershell,Installation,Pear,Zend Server,我做的第一件事是修改“C:\Program Files(x86)\Zend\ZendServer\bin\PEAR”上的安全性,让我自己和系统以及应用程序安装程序完全控制。我以管理员身份打开PowerShell windows并运行以下“php go pear.phar”。我得到如下输出: PS C:\Program Files (x86)\Zend\ZendServer\bin\PEAR> php go-pear.phar Are you

我做的第一件事是修改“C:\Program Files(x86)\Zend\ZendServer\bin\PEAR”上的安全性,让我自己和系统以及应用程序安装程序完全控制。我以管理员身份打开PowerShell windows并运行以下“php go pear.phar”。我得到如下输出:

            PS C:\Program Files (x86)\Zend\ZendServer\bin\PEAR> 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:\Program Files (x86)\Zend\ZendServer\bin\PEAR
             2. Temporary directory for processing            : C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\tmp
             3. Temporary directory for downloads             : C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\tmp
             4. Binaries directory                            : C:\Program Files (x86)\Zend\ZendServer\bin\PEAR
             5. PHP code directory ($php_dir)                 : C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\pear
             6. Documentation directory                       : C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\docs
             7. Data directory                                : C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\data
             8. User-modifiable configuration files directory : C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\cfg
             9. Public Web Files directory                    : C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\www
            10. Tests directory                               : C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\tests
            11. Name of configuration file                    : C:\WINDOWS\pear.ini
            12. Path to CLI php.exe                           : C:\Program Files (x86)\Zend\ZendServer\bin

            1-12, 'all' or Enter to continue:
            Beginning install...
            Configuration written to C:\WINDOWS\pear.ini...
            Initialized registry...
            Preparing to install...
            installing phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar...
            installing phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.0.tar...
            installing phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.4.tar...
            installing phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar...
            installing phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
            could not extract the package.xml file from "phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar"
            could not extract the package.xml file from "phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.0.tar"
            could not extract the package.xml file from "phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.4.tar"
            could not extract the package.xml file from "phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar"
            could not extract the package.xml file from "phar://C:/Program Files (x86)/Zend/ZendServer/bin/PEAR/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar"
            install failed
            PS C:\Program Files (x86)\Zend\ZendServer\bin\PEAR>
我使用的是Windows 8.1上的Zend Sever CE 5.6。错误似乎是“无法提取package.xml文件”


感谢您发布…

我刚刚遇到了这个问题。下面是我如何修复它的

我将go-pear.phar重命名为go-pear.phar.old,并从pear网站下载了go-pear.phar:

我把它当作:

php go-pear.phar

一切都很顺利。Zend提供的这个当然有一些问题