Gentoo Archives: gentoo-dev

From: Lars Wendler <polynomial-c@g.o>
To: Sebastian Pipping <sping@g.o>
Cc: gentoo-dev <gentoo-dev@l.g.o>, "pr@g.o" <pr@g.o>
Subject: Re: [gentoo-dev] News item: Apache "-D PHP5" needs update to "-D PHP"
Date: Mon, 04 Jan 2016 10:46:01
Message-Id: 20160104114537.392b9971@shanghai.paradoxon.rec
In Reply to: [gentoo-dev] News item: Apache "-D PHP5" needs update to "-D PHP" by Sebastian Pipping
1 Hi Sebastian,
2
3 to be honest I was very upset when I first stumbled upon this problem.
4 And yes I only found about it when my apache webserver started to
5 deliver php source code instead of the real sites.
6 Doing such a change without getting in contact with me as apache
7 maintainer before the change was done is very... eh... impolite at best.
8
9 Kind regards
10 Lars
11
12 On Mon, 4 Jan 2016 01:26:28 +0100 Sebastian Pipping wrote:
13
14 >Hi!
15 >
16 >
17 >Better late then never. Posting 72 hours from now the earliest as
18 >advised by GLEP 42. Feedback welcome as usual.
19 >
20 >
21 >===========================================================
22 >Title: Apache "-D PHP5" needs update to "-D PHP"
23 >Author: Sebastian Pipping <sping@g.o>
24 >Content-Type: text/plain
25 >Posted: 2016-01-04
26 >Revision: 1
27 >News-Item-Format: 1.0
28 >Display-If-Installed: app-eselect/eselect-php[apache2]
29 >
30 >With >=app-eselect/eselect-php-0.8.1, to enable PHP support
31 >for Apache 2.x file /etc/conf.d/apache2 no longer
32 >needs to read
33 >
34 > APACHE2_OPTS="......... -D PHP5"
35 >
36 >but
37 >
38 > APACHE2_OPTS="......... -D PHP"
39 >
40 >, i.e. without "5" at the end. This change is related to
41 >unification in context of the advent of PHP 7.x.
42 >
43 >With that change, guard "<IfDefine PHP>" in file
44 >/etc/apache2/modules.d/70_mod_php.conf
45 >has a chance to actually pull in PHP support.
46 >
47 >Without updating APACHE2_OPTS, websites could end up serving
48 >PHP code (include configuration files with passwords)
49 >unprocessed to website visitors!
50 >
51 >
52 >The origin of this news item is:
53 >https://bugs.gentoo.org/show_bug.cgi?id=569042
54 >===========================================================
55 >
56 >
57 >Best
58 >
59 >
60 >
61 >Sebastian
62 >
63
64
65
66 --
67 Lars Wendler
68 Gentoo package maintainer
69 GPG: 21CC CF02 4586 0A07 ED93 9F68 498F E765 960E 9B39
70
71 Attention! New gpg key! See (self signed server cert for now)
72 http://www.gentoofan.org/blog/index.php?/archives/9-New-gpg-keys.html

Replies