From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] News item: Apache "-D PHP5" needs update to "-D PHP"
Date: Tue, 5 Jan 2016 14:35:54 -0500 [thread overview]
Message-ID: <568C1B1A.6050703@gentoo.org> (raw)
In-Reply-To: <568AC798.3040008@gentoo.org>
On 01/04/2016 02:27 PM, Michael Orlitzky wrote:
>
> I may be able to fix that by simply including the old 70_mod_php5.conf
> for backwards compatibility.
>
I just pushed a new revision with this fix. In eselect-php-0.8.2-r1,
we ship both the new 70_mod_php.conf and the old 70_mod_php5.conf. The
latter comes with a big warning at the top of it, stating that it is for
backwards compatibility only.
The way this should work for upgraders is:
* You currently have php-5.x eselected, -DPHP5 defined, and a symlink
to libphp5.so in your apache2 modules directory.
* You upgrade eselect-php.
* The way we handle the module symlink and conf.d definition has
changed, but the new eselect won't touch your old libphp5.so
symlink, and you still have -DPHP5 defined.
* With 70_mod_php5.conf still around, everything keeps working
exactly as it did before the eselect-php upgrade.
* If you try to use `eselect php ... apache2`, it will create a NEW
symlink, under the new scheme. Nothing else happens. Hopefully
this convinces you to read the elog or apache config.
* If you define both -DPHP5 and -DPHP, you can get problems. Don't do
that?
* If you switch from -DPHP5 to -DPHP, the new 70_mod_php.conf kicks
in, and the new scheme gets used, and your eselect choice will
start working. Now you can delete 70_mod_php5.conf.
tl;dr it should keep working until you try to eselect and "it doesn't do
anything." Then hopefully you try to figure out why and realize you need
to update to -DPHP. But until then your current PHP keeps running.
If you had trouble with the upgrade, first of all -- sorry, and could
you please give the new revision a try? This upgrade should only be
annoying, not fatal.
next prev parent reply other threads:[~2016-01-05 19:36 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 0:26 [gentoo-dev] News item: Apache "-D PHP5" needs update to "-D PHP" Sebastian Pipping
2016-01-04 5:11 ` Jeroen Roovers
2016-01-04 16:53 ` Michael Orlitzky
2016-01-04 8:41 ` [gentoo-dev] " Kristian Fiskerstrand
2016-01-04 12:11 ` Rich Freeman
2016-01-04 13:30 ` Kristian Fiskerstrand
2016-01-04 14:20 ` Kristian Fiskerstrand
2016-01-04 14:51 ` Rich Freeman
2016-01-04 14:45 ` Peter Stuge
2016-01-04 15:08 ` Brian Evans
2016-01-04 10:45 ` [gentoo-dev] " Lars Wendler
2016-01-04 13:40 ` Michał Górny
2016-01-04 15:20 ` Michael Orlitzky
2016-01-04 15:42 ` Peter Stuge
2016-01-04 15:53 ` Michael Orlitzky
2016-01-04 16:11 ` Peter Stuge
2016-01-04 16:43 ` Michael Orlitzky
2016-01-04 17:21 ` Brian Evans
2016-01-04 17:49 ` Rich Freeman
2016-01-04 19:27 ` Michael Orlitzky
2016-01-05 19:35 ` Michael Orlitzky [this message]
2016-01-06 19:36 ` Sebastian Pipping
2016-01-06 19:53 ` Michael Orlitzky
2016-01-08 0:52 ` Marc Schiffbauer
2016-01-09 17:39 ` Michael Orlitzky
2016-01-06 19:39 ` Sebastian Pipping
2016-01-04 15:11 ` Hanno Böck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=568C1B1A.6050703@gentoo.org \
--to=mjo@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox