How does one easily add posix support to PHP using yum?

centos, package, php, posix, yum

Solution

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\*

And to install it.

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

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

Problem

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, I am using the following: `sudo yum install -y php-posix` 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)

Original source