不能在xampp窗口上安装Crypt_GPG


Cant install Crypt_GPG on xampp windows

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

Pyrus版本2.0.04 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52使用PEAR安装发现在C:'xampp'php' PEAR Pyrus'Installer'异常:依赖项验证失败,某些包无法导入。Pyrus'依赖项'异常:pear.php.net/Crypt_GPG可以选择使用PHP扩展名"posix"
Pyrus'依赖'异常:无法安装pear.php.net/Crypt_GPGWindows

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

无论如何,我可以得到通过这个错误,并安装Crypt_GPG php在xampp在windows?

请勿使用pyrus;它有很多bug,已经不再开发了。