需要在 redhat、centos 和 php5.3 上使用 go-pear.phar 安装 PEAR(旧版本)的程序
我在 CentOS 上并且 到目前为止,我一直在阅读有关 go-pear 和 go-pear.phar 的内容,因为我的 PEAR 似乎已经落后到无法使用以下命令进行升级: > pear 升级 PEAR
好的,go-pear.phar 上的评论看起来不错,也许使用包和签名是必要的。在这里凭着信念奔跑,勇往直前,我想…… 我应该删除所有以前的 PEAR 软件包吗?如果是的话,最好的方法是什么 (嗯嗯‘rm’浮现在脑海中) 事实上,我并不是想成为这里的先驱;我只是想成为一个先锋。寻找已经做到这一点的人(以受控的方式,并取得积极的结果),即:我不想弄坏我的服务器箱。
关于位置 (/usr/share) 和 php.ini 文件配置,我还需要了解什么。 我愿意接受 PEAR 安装技巧和 .phar,并希望了解更多相关信息。
欢迎提出建议和指点。 TIA(提前致谢)
I'm on CentOS and
So far I've been reading about go-pear and go-pear.phar since my PEAR seems to have gotten behind enough that it can't be upgraded with command: > pear upgrade PEAR
OK, reviews on go-pear.phar seem good, and maybe working with packages and signatures is a necessity. Running on faith here, and forging ahead, I wonder...
Should I remove all of the previous PEAR packages, and if so what is the best way
( hmmmm 'rm' comes to mind )
I'm actually not trying to be an pioneer here; Looking for someone who has done this ( In a controlled manner, and With a Positive Outcome ) ie: I don't want to botch my Server Box.
What else will I need to know about locations (/usr/share) and php.ini file configuration.
I'm open to PEAR install tips, with .phar and want to learn more about it.
Suggestions and pointers welcome. TIA (thanks in advance)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个问题应该用 RHEL 来解决,以便在 CentOS 中解决,这里是关于该问题的错误报告:
PHP53 缺少 php53-pear
通过 yum install 安装旧版 php-pear php-pear 并运行以下命令:(
这些命令似乎可以解决问题,它适用于链接的错误报告中的 labradort ,并且它为我工作)
This problem should be solved with RHEL in order to be solved in CentOS, here is the bug report about that problem:
PHP53 Lacks php53-pear
Install the older php-pear via
yum install php-pear
and than run the following commands:(It seems that these commands will solve the issue, it worked for labradort from the linked bug report and it worked for me)