Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263731 - dev-lang/php - feature request: add separated USE flags pcntl for cli and apache2
Summary: dev-lang/php - feature request: add separated USE flags pcntl for cli and apa...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 14:44 UTC by Dan
Modified: 2009-03-26 00:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2009-03-25 14:44:34 UTC
Need feature that allow build >=php5 for cli with separated flag pcntl from apache2.

As described in php manual pcntl must be disabled for apache server. 

For this issue need feature like this: 
USE="pcntl-cli" or USE="pcntl-cli --pcntl-apache2" emerge dev-lang/php

At this moment ebuild dev-lang/php allow enable pcntl flag for both only: apache2 and cli


Reproducible: Always
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-03-25 17:20:36 UTC
Install php with USE="sharedext" and you'll be able to choose whether it should be loaded for every SAPI distinctively via /etc/php/*/ext{,-active}.
Comment 2 Dan 2009-03-26 00:39:14 UTC
(In reply to comment #1)
> Install php with USE="sharedext" and you'll be able to choose whether it should
> be loaded for every SAPI distinctively via /etc/php/*/ext{,-active}.
> 

Thanks. Its works! Problem resolved and sorry for this report. This cool feature not described in http://www.gentoo.org/proj/en/php/php-upgrading.xml and not so obviously.