Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263731

Summary: dev-lang/php - feature request: add separated USE flags pcntl for cli and apache2
Product: Gentoo Linux Reporter: Dan <randygoesdandy>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.