Summary: | >=app-eselect/eselect-php-0.8.1[apache2] breaks PHP support: Please package mask and/or news item and/or -D PHP5 compatibility | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastian Pipping <sping> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hydrapolic |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sebastian Pipping
2015-12-21 19:49:00 UTC
- putting [..] into package.mask again + putting [..] into package.mask again is an option (In reply to Sebastian Pipping from comment #0) > > For the latter, I could imagine that something like > > <IfDefine PHP5> > Define PHP > </IfDefine> > This is apache-2.4 only unfortunately. I tried a similar approach but using a custom Error <https://httpd.apache.org/docs/2.4/mod/core.html#error> message to tell the users what do to. Same problem. I would vote for a news item. News item posted for review to gentoo-dev: http://thread.gmane.org/gmane.linux.gentoo.devel/99222 I've done a bunch of work on eselect-php that (hopefully) mitigates this entirely. Your existing 70_mod_php5.conf was never supposed to go away. Now we ship it (in addition to the new 70_mod_php.conf) for backwards-compatibility. And in eselect-php-0.8.5, the user gets a warning when he tries to change his apache target unless he's updated his configuration: $ sudo eselect php set apache2 1 !!! Warning: The apache2 configuration has changed in this !!! Warning: version of eselect-php. You should define "-D PHP" !!! Warning: and not "-D PHP5" for apache. The module is now !!! Warning: loaded by 70_mod_php.conf (was 70_mod_php5.conf). !!! Warning: After you have changed "-D PHP5" to "-D PHP", !!! Warning: you should remove 70_mod_php5.conf to eliminate !!! Warning: this warning. Until you have done so, your eselect !!! Warning: choices for apache2 will have no effect. Please restart apache for the changes to take effect. Combined, those two changes should prevent breakage on upgrades and surprises for anyone who skips the elog message. Thank you! |