* QA Notice: econf called in src_compile instead of src_configure dunno if any other versions are affected
They are all affected. I'd be happy to hear a solution, but this is the recommended way to build php: one SAPI at a time. You have to ./configure && make && make clean for each one in turn, before everything's assembled. So, sorry, but this is CANTFIX, except by ripping php apart and I'm certainly not the one doing this (again).
You could have the ebuild copy the source code to one directory per SAPI and iterate through each of these directories for each phase function.