dev-lang/php-5.6.31 has automagic dependency on sys-libs/libapparmor:0, maybe need corresponding USE
Confirmed, but only on fpm. Unfortunately, there is no autotools flag to flip without a patch to sapi/fpm/config.m4
I opened a pull request upstream that adds the necessary configure flag.