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 7A9161384B4 for ; Mon, 4 Jan 2016 15:53:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA908E084C; Mon, 4 Jan 2016 15:53:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B864FE07FA for ; Mon, 4 Jan 2016 15:53:01 +0000 (UTC) Received: from [192.168.1.100] (c-98-218-46-55.hsd1.md.comcast.net [98.218.46.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mjo) by smtp.gentoo.org (Postfix) with ESMTPSA id 782EB34076D for ; Mon, 4 Jan 2016 15:53:00 +0000 (UTC) Subject: Re: [gentoo-dev] News item: Apache "-D PHP5" needs update to "-D PHP" To: gentoo-dev@lists.gentoo.org References: <5689BC34.5000006@gentoo.org> <20160104114537.392b9971@shanghai.paradoxon.rec> <20160104144036.1083a3d1.mgorny@gentoo.org> <568A8DA4.8000901@gentoo.org> <20160104154245.27599.qmail@stuge.se> From: Michael Orlitzky Message-ID: <568A9592.5090401@gentoo.org> Date: Mon, 4 Jan 2016 10:53:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 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 In-Reply-To: <20160104154245.27599.qmail@stuge.se> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: a18092ec-c1d4-484c-82f0-6ef971115562 X-Archives-Hash: f8d906cd2432bba88956a175fb417882 On 01/04/2016 10:42 AM, Peter Stuge wrote: > Michael Orlitzky wrote: >> If anyone has a concrete idea that works better, it's not too late to >> change it. > > Add code to init script and service file to check the config before > starting the program, and react if PHP5 is still set. > Which init script? It's only "bad" to have PHP5 set if the user has installed >=eselect-php-0.8.1, and run it at least once. You don't want to e.g. kill working php-5.x installations for people who have apache keyworded ~arch.