[ACCEPTED]-How does one easily add posix support to PHP using yum?-yum

Accepted answer
Score: 25

While the question was for centos, notice 3 that for fedora the php-posix package is provided 2 by php-process from fedora 11. I assume this change also will hit 1 centos at some point.

Score: 5

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

To see if it's in that repository.

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

And 3 to install it.

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

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

Score: 0

I am running CentOS 5.3. The PHP that is 6 included already has the Posix functions 5 built in. You may or may not have found 4 the introdctory documentation for the POSIX functions (which indicate that these functions 3 are not available in Windows). Have you 2 tried using a particular function and it 1 didn't work?


    <?php print_r(posix_uname()) ?>

in its own file works for me.

More Related questions