Skip to content

Commit

Permalink
dev-lang/php: update the apache2 post-install notification about mod_…
Browse files Browse the repository at this point in the history
…php.

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
  • Loading branch information
orlitzky committed Jan 7, 2016
1 parent e99147e commit 0b73405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-lang/php/php-7.0.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -729,8 +729,8 @@ src_test() {
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

Expand Down

0 comments on commit 0b73405

Please sign in to comment.