From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B3ACF1384B4 for ; Mon, 4 Jan 2016 14:46:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52AA1E0874; Mon, 4 Jan 2016 14:45:48 +0000 (UTC) Received: from foo.stuge.se (foo.stuge.se [212.116.89.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE76FE0857 for ; Mon, 4 Jan 2016 14:45:46 +0000 (UTC) Received: (qmail 22865 invoked by uid 501); 4 Jan 2016 14:45:43 -0000 Message-ID: <20160104144543.22864.qmail@stuge.se> Date: Mon, 4 Jan 2016 15:45:43 +0100 From: Peter Stuge To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: News item: Apache "-D PHP5" needs update to "-D PHP" Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <5689BC34.5000006@gentoo.org> <568A3039.7070106@gentoo.org> <568A73E8.6030304@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <568A73E8.6030304@gentoo.org> X-Archives-Salt: 723903b0-bd4a-48ec-90e6-7a216e1d5c90 X-Archives-Hash: d59f58c7528b44bae98e5a86e9150499 Kristian Fiskerstrand wrote: > Maybe I'm thinking things too difficult, why not just define both -D > PHP and -D PHP5 in the transition period and suggest this config for > any change? Because it mostly just defers the problem. If the desire is to move away from PHP5 then I would suggest to force a failure when starting Apache, if PHP5 is defined when PHP is required. Ie. fail closed. I can be talked into supporting the idea to only print a warning when PHP5 is set and to not fail (no source served) for some period of time until which the forced failure starts, if PHP5 is still set. Don't fail open, fail closed. Since manual interaction is required some people will forget or overlook it, and will get a failure. I would introduce the failure right away, but maybe a warning will make some happy who would otherwise have gotten a failure. //Peter