我做的第一件事是修改“C:\ProgramFiles(x86)\Zend\ZendServer\bin\PEAR”上的安全性,让我自己和系统以及应用程序安装程序完全控制。我以管理员身份打开PowerShell窗口并运行以下“phpgo-pear.phar”。我得到如下输出:PSC:\ProgramFiles(x86)\Zend\ZendServer\bin\PEAR>phpgo-pear.pharAreyouinstallingasystem-widePEARoralocalcopy?(system|local)[system]:Belowisasuggestedfilelayoutf