如何轻松地添加posix支持PHP使用yum? [英] How does one easily add posix support to PHP using yum?

查看:229
本文介绍了如何轻松地添加posix支持PHP使用yum?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行CentOS 5.2并使用yum来管理软件包。我有没有运气安装php-posix,但知道几乎100%的确信,它是一个真正的和可用的包...某处。有没有人有运气安装它?

I am running CentOS 5.2 and using yum to manage packages. I have had little luck installing php-posix but know with almost 100% certitude that it is a real and available package...somewhere. Has anyone had luck installing it?

FWIW,我使用以下:

FWIW, I am using the following:

sudo yum install -y php-posix

更新:我意识到这可能是个问题与我的主机(Slicehost),因为我其实有cli,posix和pcntl启用我的PHP版本(5.2.9)

Update: I've realized that this may be an issue with my host (Slicehost) as I do in fact have cli, posix, and pcntl enabled for my PHP version (5.2.9)

推荐答案

您可以尝试查看它是否在测试存储库中。

You can try and see if it's in the testing repository.

要查看它是否在该存储库中。

To see if it's in that repository.

yum --disablerepo=\* --enablerepo=c5-testing list available \*php\*

并安装它。

yum --enablerepo=c5-testing install php-posix

请注意,它需要的PHP版本可能会高于您目前有。

Be aware though, that the PHP version it needs may be higher than you currently have.

这篇关于如何轻松地添加posix支持PHP使用yum?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆