Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104338 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 97703 invoked from network); 11 Feb 2019 13:33:56 -0000 Received: from unknown (HELO mail-it1-f178.google.com) (209.85.166.178) by pb1.pair.com with SMTP; 11 Feb 2019 13:33:56 -0000 Received: by mail-it1-f178.google.com with SMTP id r6so24894451itk.0 for ; Mon, 11 Feb 2019 02:16:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1ebqT5cQ8zZs7UAROeec6mPk6Nafz0600wQhpay1B/o=; b=hZPRkvxZhq4LSw4DQS1xiNITbM7T4C1F5vdzmqvwB+NtEGAKoAQDDOIoLcP/2bzH4H X8rg1qys5JgNo1zgbg2I6XHdvR09iFyeyYGJn63aKpJegH7iBOhzxpKjl3rJhGuC4Pjz dSse7nT4E+su3+gkD2gc7UtWLRlLpO/pSiqlZvOXlYeoL+OJsCKs8kJtX/gVgqOmZgvm ic6tDy8FTFf5EEPcesTbYSqY1HjUNEBADEbi/4caXOTeRKWookMX2mRTPrY4XVrqGyBv Y+DnIhhuYZMY554qgeTy/fhln1qKmidJ/yL6NW1IManXcz1ZaoeYGph/6yZi8+8T0SWj gJvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=1ebqT5cQ8zZs7UAROeec6mPk6Nafz0600wQhpay1B/o=; b=GWN/pvtP++ATHp+GtaEC14qEkd/iakrTKSi8jaJ3PbmRW+oYj+pQz4clgKjNOb3bFm hh85/BZA7RRldlW1zfixdoHhjg3jjL+Qf6DA4AqyWDCnQ/xaZZMvh47Bbgd9f74E238m kvLBhR2xp8qxV84yGKhaRu4d54sr3DM3bKPtOkwde9mXogzkZWKo1BHqugZdY6RVz0Zn IHZUMACInETsOlJe24XkWApru4K9q8BvfTk2kVNyuQhrJOzbGHFoOKe0WAglc2h3E+Cb WfGgEogtmbwAWEpB/DD5p11L62uMX1gwjpzrOEpNdBCp7DraMzNsFYhYehWW5wB92Ez8 HXCQ== X-Gm-Message-State: AHQUAuZ/74bUl51ZkIyDbo2IwH1gYL/kNtXUcLObs0NvNmWahdwySYZb z3vwSKcnHTIRpK+reoPQcYnN86J4wYuJp/5tL7xmOg== X-Google-Smtp-Source: AHgI3IZWLSCddBu8SJV4qoUrt43wPwnnkEL9a3VYI1DjZPiqXK5L4ASiiLJyb1dQIcfH6GemjsTAgqa303Kok1a73+M= X-Received: by 2002:a02:9c43:: with SMTP id h3mr15477202jal.101.1549880192653; Mon, 11 Feb 2019 02:16:32 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 11 Feb 2019 11:16:13 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="00000000000053dd7305819b9a05" Subject: Re: Disable PEAR by default From: nikita.ppv@gmail.com (Nikita Popov) --00000000000053dd7305819b9a05 Content-Type: text/plain; charset="UTF-8" On Fri, Feb 1, 2019 at 12:27 PM Nikita Popov wrote: > Hi internals, > > I would like to suggest that installation of PEAR is disabled by default > in PHP 7.4. PR: https://github.com/php/php-src/pull/3781 > > I think the reasons for this should be obvious. It's not really the recent > security breach itself, but rather the underlying issue that PEAR simply > isn't actively maintained anymore. > > Currently PEAR is broken on master due to the removal of each(), which was > deprecated in PHP 7.2. Apparently, since that time nobody noticed that PEAR > is throwing deprecation errors, or at least nobody bothered to fix them. > (I've submitted https://github.com/pear/Console_Getopt/pull/3 to fix at > least this particular issue.) > > It's somewhat unfortunate that PEAR and PECL are coupled projects, but I > don't think that should prevent us from changing this default. > > Regards, > Nikita > I've gone ahead and merged this change. PEAR is no longer installed by default, instead --with-pear must be specified. Additionally the option generates a deprecation warning during ./configure now. Nikita --00000000000053dd7305819b9a05--