Red Hat Bugzilla – Bug 508569
F11's PHP is not built with POSIX or PCNTL extensions.
Last modified: 2009-06-28 15:46:12 EDT
Description of problem:
For whatever reason, F11's PHP build has the PHP POSIX and PCNTL extensions disabled. F10's PHP build has these enabled. This is a regression.
Version-Release number of selected component (if applicable):
php-5.2.9-2.fc10 -- Works
php-5.2.9-2.fc11 -- Does not work.
module_exists('pcntl') should return 1
module_exists('posix') should return 1
According to the PHP docs, the POSIX extension is built by default, and has to be explicitly disabled. The PCNTL extension has to be explicitly enabled.
phpinfo() on 5.2.9-2.fc11 shows the ./configure cmdline used to build php, and '--disable-posix' is explicitly listed there, and no mention of pcntl. However, on 5.2.9-2.fc10, '--enable-pcntl' is explicitly listed, and no mention of posix, which is by default enabled.
This breaks valid PHP code that worked fine in F10, but not F11. The PCNTL/POSIX modules are part of the core PHP package, and are "offically" supported by the PHP folks.
They have been split into separate modules.
Installing the "php-process" package adds posix, and the "php-cli" package provides the pcntl module.