Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95622 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13283 invoked from network); 4 Sep 2016 17:10:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Sep 2016 17:10:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@daveyshafik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@daveyshafik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daveyshafik.com from 209.85.216.173 cause and error) X-PHP-List-Original-Sender: me@daveyshafik.com X-Host-Fingerprint: 209.85.216.173 mail-qt0-f173.google.com Received: from [209.85.216.173] ([209.85.216.173:34449] helo=mail-qt0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/D2-45301-6855CC75 for ; Sun, 04 Sep 2016 13:10:31 -0400 Received: by mail-qt0-f173.google.com with SMTP id 38so44150059qte.1 for ; Sun, 04 Sep 2016 10:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daveyshafik-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=BvgBv6EFl781/8P0tk1OQZwgw4Igj5e3TS2+bjJD3y0=; b=gVE03962CGVq7GXMS0p7dlXtS03GEaa4C+8e1JlDwpJNyI7mwWvEFsG7SbDueDJTAB sDorlD3X9e9StkUlf3BMWw7mxYXnH7ca9yzF/3WgjzUC3L3TDFhojngpE4a3sJsYEbsd bXwlRIjNJC2f+m/k3jrR0rw37plOalAO7pfnk1uYLPBp5qBITmsst88vWtj+tKRbT9yD cX5+jXh+QF6417I6kSUUi0QdY7zHkC+6Xx47JJU7TCGWQgx1o1cjxYa56v7qxr19VqFF 1J804LkPI2UoWtUbgKfYYC7s5TYbhDllkZXW3KpW09JNnphrpdSiyn0PafHzJBnjM23A dkVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=BvgBv6EFl781/8P0tk1OQZwgw4Igj5e3TS2+bjJD3y0=; b=XhBybUso5z6oyZm+UYg5f0ABg54Ai5oa5Fsj5hCgWBREDqN07eLNKyFvnoXHIZ72uT vxHmkf6cOmfVUJgoTpoG+OjqfPweRWk8SsXWXMlruZ8tKXwfZcuLzbqEyYM3mXs7c0UM gznGjvUR/Q1g24wIbulEkJu02XdQ5gSTJ/CrXADY1G7MterPcvNYT/GupBLPCnfUTMqn 1S8xbn9hXJ41OScScviNtcCl7rLtJ1ILeOvAW9uoNjPgdeMIa8MWMevT/FnvZf5/lcbl sIP7+pYG82ciPrcZTXkultgwgRcWWYAgnT9HhmedGC7in1+sXjD0Tr77r7AOxfLw0V7J gbOw== X-Gm-Message-State: AE9vXwPGCLUvk4yUyJHxSU/vhEE6byaily8mw1xzlPaLZLtvLtWawaXZ90n9nF8pU1CHFAfiXcRuq4fLB0bdMUi6 X-Received: by 10.200.45.8 with SMTP id n8mr35483357qta.57.1473009028402; Sun, 04 Sep 2016 10:10:28 -0700 (PDT) MIME-Version: 1.0 Sender: me@daveyshafik.com Received: by 10.237.50.161 with HTTP; Sun, 4 Sep 2016 10:10:27 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Sep 2016 10:10:27 -0700 X-Google-Sender-Auth: vOEEENASUcBEc6vMH2jxKlBXVNw Message-ID: To: Jordan Gigov Cc: Levi Morrison , internals Content-Type: multipart/alternative; boundary=001a1149dab2e3aa15053bb1a3df Subject: Re: [PHP-DEV] Non-conflicting PHP 5 and 7 builds From: davey@php.net (Davey Shafik) --001a1149dab2e3aa15053bb1a3df Content-Type: text/plain; charset=UTF-8 Jordan, This was a choice they made, yet the author of the Debian/Ubuntu packages has side-by-side installable versions from 5.5-7.1 in his own PPA: https://launchpad.net/~ondrej/+archive/ubuntu/php It's not only currently feasible, it has been done, the _project_ chose not to do it. - Davey On Sun, Sep 4, 2016 at 12:57 AM, Jordan Gigov wrote: > I can see your argument for using prefix, but that would not provide a > solution to package maintainers who may want to give their users a choice. > I was recently surprised when upgrading from Ubuntu 14 to 16 that it > replaced PHP 5 with 7 entirely. They were forced into choosing between the > two at a time when most developers will have to maintain both versions for > several more years for different projects. > > > And what do you mean --program-suffix is broken? What do you get and expect > to get? With or without my changes it seems work as intended. > > 2016-09-02 18:28 GMT+03:00 Levi Morrison : > > > The issue is that you are writing to the same prefix. Just write them > > to different prefixes and reference them separately. This is not a > > unique-to-php situation. At work we maintain many different > > simultaneous versions of Python, for example. > > > > With that said it looks like the program suffixes are broken. If > > --program-suffix=7 is set then I'd expect php7, phpize7 (or php7ize, > > don't really care), etc. > > > --001a1149dab2e3aa15053bb1a3df--