FFI is a new feature of PHP 7.4 and should be available via use flags. https://secure.php.net/ffi From documentation : * This extension requires the ยป libffi library to be installed. [https://sourceware.org/libffi/] => satisfiable via dev-libs/libffi (or virtual/libffi) * To enable the FFI extension, PHP has to be configured with --with-ffi .
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6411bd63e5afe932835bfd63669890aefac78416 commit 6411bd63e5afe932835bfd63669890aefac78416 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2019-07-29 13:47:08 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2019-07-29 13:47:08 +0000 dev-lang/php: Add ffi USE flag for new extension in 7.4 Closes: https://bugs.gentoo.org/690988 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Brian Evans <grknight@gentoo.org> dev-lang/php/metadata.xml | 1 + dev-lang/php/php-7.4.0_beta1.ebuild | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-)
Thank you very much !