Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65589 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18641 invoked from network); 3 Feb 2013 22:17:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2013 22:17:05 -0000 Authentication-Results: pb1.pair.com header.from=sean@seancoates.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sean@seancoates.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain seancoates.com from 64.15.79.181 cause and error) X-PHP-List-Original-Sender: sean@seancoates.com X-Host-Fingerprint: 64.15.79.181 iconoclast.caedmon.net Received: from [64.15.79.181] ([64.15.79.181:56824] helo=iconoclast.caedmon.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/34-22879-FD1EE015 for ; Sun, 03 Feb 2013 17:17:04 -0500 Received: from localhost (localhost [127.0.0.1]) by iconoclast.caedmon.net (Postfix) with ESMTP id 7E2AF78405C; Sun, 3 Feb 2013 17:08:47 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at iconoclast.caedmon.net Received: from iconoclast.caedmon.net ([127.0.0.1]) by localhost (iconoclast.caedmon.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5GQLQhtbVzrQ; Sun, 3 Feb 2013 17:08:45 -0500 (EST) Received: from [10.8.0.2] (sarcasm.vpn [10.8.0.2]) by iconoclast.caedmon.net (Postfix) with ESMTPSA id 83CEE784056; Sun, 3 Feb 2013 17:08:44 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii In-Reply-To: Date: Sun, 3 Feb 2013 17:16:54 -0500 Cc: "internals@lists.php.net" Content-Transfer-Encoding: quoted-printable Message-ID: <13717571-594A-4DAD-AF75-1829C7D6F432@seancoates.com> References: To: Karoly Negyesi X-Mailer: Apple Mail (2.1085) Subject: Re: [PHP-DEV] Proposal for serious BC compatibility aka language versioning From: sean@seancoates.com (Sean Coates) > So, if we are talking about PHP 6, then the opening accompanied by the version it was written for, it was tested with and = then > the engine could switch to a compatibility mode for that version. >=20 > Seems to me that this would solve the problem where a host can't = upgrade to > a more modern version for fear of breaking old code. Consequently, = open > source packages -- like Drupal I am deeply involved with -- can't use = more > modern PHP versions decreasing the "push" for hosts to upgrade. This = is a > devilish circle and it'd be great to break it. Agreed with the others that this should not go into the engine (and this = should also not really clutter up the Internals list), but if you have a = real need for running different versions of PHP for different URLs, you = could pretty easily set up multiple FPM backends (one for each version = you support) and have Nginx map URLs to these. It would be a maintenance = headache, but not the disaster this would be if it had to be maintained = in PHP-proper. S