Gentoo Archives: gentoo-dev

From: Brian Evans <grknight@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: News item: Apache "-D PHP5" needs update to "-D PHP"
Date: Mon, 04 Jan 2016 15:07:19
Message-Id: 568A8ADB.70308@gentoo.org
In Reply to: [gentoo-dev] Re: News item: Apache "-D PHP5" needs update to "-D PHP" by Kristian Fiskerstrand
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 1/4/2016 3:41 AM, Kristian Fiskerstrand wrote:
5 > On 01/04/2016 01:26 AM, Sebastian Pipping wrote:
6 >> Hi!
7 >
8 >
9 >> Better late then never. Posting 72 hours from now the earliest
10 >> as advised by GLEP 42. Feedback welcome as usual.
11 >
12 > Do you have any timeline in place for the change happening in tree
13 > (in particular for stable users).
14 >
15 >
16 >> Without updating APACHE2_OPTS, websites could end up serving PHP
17 >> code (include configuration files with passwords) unprocessed to
18 >> website visitors!
19 >
20 >
21 > Such a change should really be avoided if possible. Would it be
22 > possible to have a conditional approach where either one can be
23 > used, or maybe set the new variable/defin if the old one is used?
24 >
25 >
26
27 The problem is really two-fold with the new eselect-php.
28
29 For future compatibility (to not have this happen again with say
30 PHP8), the PHP team changed the symlink created by eselect to be
31 libphp.so instead of the current libphp${MAJOR}.so.
32
33 The user must also reselect with `eselect php set X`, even for the
34 current PHP versions and not just 7.
35
36 mjo explored the option of "<IfDefine PHP5>Define PHP</IfDefine>" but
37 that is apache-2.4+ only.
38
39 If we wanted a "compatibility" layer, it would be the same section
40 repeated until 2.4 was the only version available. That might confuse
41 users even more.
42
43 Brian
44 -----BEGIN PGP SIGNATURE-----
45 Version: GnuPG v2.0.17 (MingW32)
46
47 iQIcBAEBAgAGBQJWioraAAoJENH3ge/59KO2wNUQAKThJz1QBjOvOmi0ClluVxt8
48 Lt0fbibQXIgZScJy5zqeOwX3EAUDqBST8sonNhJ8uQT4qbU8gwdYK6vhoDbJS0sX
49 oNzbdwxumSwNBsi4UCl/D0Dj+XefgIyvmgGBZ0RA8t0x8Ls3uQB6DWI1f36Z3wAs
50 ULqJc38+d1e5pmNu3jpc5tvG2ybvaVVGbWmNiOI8rafFV12KIsRMDHdDCG4DpkQD
51 bmWLYTv44Nt5nSY2wmLQQAV57kB2PsaaT0qlQciVhKiqOUA+qlmI0dtM3LLSNitK
52 dqKWNj7WTQFBM1SLHXD0s4CQk9XhFB9E07zelcB5zuC9XeYj1mbrn9aEtfl5lfVs
53 hHHJQ97MG3u/XwPTHY04J6wfoaQW4dwaQd74Pz48qJ2DqSW9HV8UTS2enF5cuZok
54 mFfd+xexHvcz45jyz83BtXM4mRWdHBDdy/3fYEvN12wVgU4hQcjDTKKPwpO3Btsb
55 uyCar+SgoHoRIEQhfDytnT0Idte2GifCysPq7hG12j+efwT7pt0XXk+TZQaH/opZ
56 FWRzOvjXZXd41M3RQ7H5D+KXrKV3uY4mE41rceEUXrw9PQrueg6Cw5ujK/opawrv
57 a8qonCtx7LZrEzYLagCYEBDPdgvxHWzIBb0vdgYoRVzSRwoJiAA66dbRuqC7s34G
58 JM84VqrtPsaCktCq6vw3
59 =/gh0
60 -----END PGP SIGNATURE-----