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 708AA1388BF for ; Wed, 6 Jan 2016 19:54:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B04421C011; Wed, 6 Jan 2016 19:54:07 +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 8EAD021C003 for ; Wed, 6 Jan 2016 19:54:05 +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 608B634097F for ; Wed, 6 Jan 2016 19:54:04 +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> <568A9592.5090401@gentoo.org> <20160104161153.30168.qmail@stuge.se> <568AA12D.7090807@gentoo.org> <568AAA13.8080006@gentoo.org> <568AC798.3040008@gentoo.org> <568C1B1A.6050703@gentoo.org> <568D6CC7.8030809@gentoo.org> From: Michael Orlitzky X-Enigmail-Draft-Status: N1110 Message-ID: <568D70C7.5080007@gentoo.org> Date: Wed, 6 Jan 2016 14:53:43 -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: <568D6CC7.8030809@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: fc53d808-c878-4e3c-9952-1e8bd294a16d X-Archives-Hash: c8c6e9a6b1c15ff268db09f6a457181c On 01/06/2016 02:36 PM, Sebastian Pipping wrote: > On 05.01.2016 20:35, Michael Orlitzky wrote: >> I just pushed a new revision with this fix. In eselect-php-0.8.2-r1, >> we ship both the new 70_mod_php.conf and the old 70_mod_php5.conf. The >> latter comes with a big warning at the top of it, stating that it is for >> backwards compatibility only. > > Cool, sounds like a great idea to me. > > I guess we don't need a news item any more then? > Upgraders still have a problem, but a much less severe one. After upgrading eselect-php, further attempts to `eselect php set apache2` will appear to have no effect, because the old 70_mod_php5.conf is loading the old symlink to libphp5.so. There are a few options: 1. Leave things as is, and tell people what to do (read the elog) if they hit this situation. 2. Proceed with a news item that basically says "read the elog." 3. I could try to hack some magic into eselect-php to detect whether or not you have -DPHP5 set. Something simple, like grepping /etc/conf.d /apache2 for "PHP5". In that case we could omit a notice. This one simultaneously makes the most sense and feels like the biggest hack.