我使用命令
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 吗?