Newer versions of app-eselect/eselect-php require some apache
configuration changes. This configuration is mentioned in the
dev-lang/php pkg_postinst() phase, which isn't ideal, but is what it
is. Since php:7.0 requires the new eselect-php, the pkg_postinst() for
php:7.0 has been updated to reflect the configuration changes.
Thanks to Tomáš Mózes for pointing this out.
Gentoo-Bug: 552156
Package-Manager: portage-2.2.24
pkg_postinst() {
# Output some general info to the user
if use apache2 ; then
- APACHE2_MOD_DEFINE="PHP5"
- APACHE2_MOD_CONF="70_mod_php5" # Provided by app-eselect/eselect-php
+ APACHE2_MOD_DEFINE="PHP"
+ APACHE2_MOD_CONF="70_mod_php" # Provided by app-eselect/eselect-php
apache-module_pkg_postinst
fi