Bug 508569 - F11's PHP is not built with POSIX or PCNTL extensions.
F11's PHP is not built with POSIX or PCNTL extensions.
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
11
All Linux
low Severity high
: ---
: ---
Assigned To: Joe Orton
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-28 12:39 EDT by Solomon Peachy
Modified: 2009-06-28 15:46 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-06-28 15:46:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Solomon Peachy 2009-06-28 12:39:07 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.

Other Information:

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.
Comment 1 Tim Jackson 2009-06-28 15:46:12 EDT
They have been split into separate modules.

Installing the "php-process" package adds posix, and the "php-cli" package provides the pcntl module.

Note You need to log in before you can comment on or make changes to this bug.