public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] News item: Apache "-D PHP5" needs update to "-D PHP"
@ 2016-01-04  0:26 Sebastian Pipping
  2016-01-04  5:11 ` Jeroen Roovers
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: Sebastian Pipping @ 2016-01-04  0:26 UTC (permalink / raw
  To: gentoo-dev; +Cc: pr@gentoo.org

Hi!


Better late then never.  Posting 72 hours from now the earliest as
advised by GLEP 42.  Feedback welcome as usual.


===========================================================
Title: Apache "-D PHP5" needs update to "-D PHP"
Author: Sebastian Pipping <sping@gentoo.org>
Content-Type: text/plain
Posted: 2016-01-04
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: app-eselect/eselect-php[apache2]

With >=app-eselect/eselect-php-0.8.1, to enable PHP support
for Apache 2.x file /etc/conf.d/apache2 no longer
needs to read

  APACHE2_OPTS="......... -D PHP5"

but

  APACHE2_OPTS="......... -D PHP"

, i.e. without "5" at the end.  This change is related to
unification in context of the advent of PHP 7.x.

With that change, guard "<IfDefine PHP>" in file
/etc/apache2/modules.d/70_mod_php.conf
has a chance to actually pull in PHP support.

Without updating APACHE2_OPTS, websites could end up serving
PHP code (include configuration files with passwords)
unprocessed to website visitors!


The origin of this news item is:
https://bugs.gentoo.org/show_bug.cgi?id=569042
===========================================================


Best



Sebastian


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2016-01-09 17:39 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox