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
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}.
(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.