Bug 508569 - F11's PHP is not built with POSIX or PCNTL extensions.
Summary: F11's PHP is not built with POSIX or PCNTL extensions.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 11
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-28 16:39 UTC by Solomon Peachy
Modified: 2009-06-28 19:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-28 19:46:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Solomon Peachy 2009-06-28 16:39:07 UTC
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 19:46:12 UTC
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.