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 CCEDE1388B6 for ; Tue, 5 Jan 2016 19:36:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25D7F21C03B; Tue, 5 Jan 2016 19:36:12 +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 3586921C01D for ; Tue, 5 Jan 2016 19:36:11 +0000 (UTC) Received: from [10.1.1.204] (unknown [65.213.236.244]) (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 E1F5D34096F for ; Tue, 5 Jan 2016 19:36:09 +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> From: Michael Orlitzky X-Enigmail-Draft-Status: N1110 Message-ID: <568C1B1A.6050703@gentoo.org> Date: Tue, 5 Jan 2016 14:35:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.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: <568AC798.3040008@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9f3bed07-6abf-4876-a8b7-0db06a8bb8e0 X-Archives-Hash: 5f4e075ffbe1fc738705283a36279aa0 On 01/04/2016 02:27 PM, Michael Orlitzky wrote: > > I may be able to fix that by simply including the old 70_mod_php5.conf > for backwards compatibility. > 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. The way this should work for upgraders is: * You currently have php-5.x eselected, -DPHP5 defined, and a symlink to libphp5.so in your apache2 modules directory. * You upgrade eselect-php. * The way we handle the module symlink and conf.d definition has changed, but the new eselect won't touch your old libphp5.so symlink, and you still have -DPHP5 defined. * With 70_mod_php5.conf still around, everything keeps working exactly as it did before the eselect-php upgrade. * If you try to use `eselect php ... apache2`, it will create a NEW symlink, under the new scheme. Nothing else happens. Hopefully this convinces you to read the elog or apache config. * If you define both -DPHP5 and -DPHP, you can get problems. Don't do that? * If you switch from -DPHP5 to -DPHP, the new 70_mod_php.conf kicks in, and the new scheme gets used, and your eselect choice will start working. Now you can delete 70_mod_php5.conf. tl;dr it should keep working until you try to eselect and "it doesn't do anything." Then hopefully you try to figure out why and realize you need to update to -DPHP. But until then your current PHP keeps running. If you had trouble with the upgrade, first of all -- sorry, and could you please give the new revision a try? This upgrade should only be annoying, not fatal.