0

我使用命令 php pyrus.phar install pear/Crypt_GPG在 windows 的 xampp 中安装 Crypt_GPG。但它显示了以下依赖错误

Pyrus 版本 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52 使用位于 C:\xampp\php\pear Pyrus\Installer\Exception 的 PEAR 安装:某些软件包的依赖项验证失败,安装失败 Pyrus\Dependency\Exception: pear.php .net/Crypt_GPG 可以选择使用 PHP 扩展 "posix"
Pyrus\Dependency\Exception: Cannot install pear.php.net/Crypt_GPG on Windows

梨页面https://pear.php.net/package/Crypt_GPG说 posix 是一个可选的依赖项,而且 posix 也不能安装在 Windows 中。它还说 Crypt_GPG 可以安装在 Windows 中。见页面底部。

无论如何我可以通过这个错误并在 Windows 的 xampp 中的 php 上安装 Crypt_GPG 吗?

4

1 回答 1

0

不要使用pyrus;它是错误的,不再开发了。

原来的 PEAR 安装程序可以正常工作。

于 2015-11-12T15:10:15.410 回答