Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104016 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 80837 invoked from network); 2 Feb 2019 12:34:46 -0000 Received: from unknown (HELO mail-io1-f43.google.com) (209.85.166.43) by pb1.pair.com with SMTP; 2 Feb 2019 12:34:46 -0000 Received: by mail-io1-f43.google.com with SMTP id c2so7808304iom.12 for ; Sat, 02 Feb 2019 01:15:06 -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=vq428MHm0e2iH5FmAw99YrRFG+uosDFw3Aq4HMJMTIU=; b=g0ZEU0u5wOFbMYTCYYksFAdeznzyogDq/xg4IGHtnEUYOl4MnAqtDroKpN2HxofgNw Na4p6wvHzxjwzuMveP0qMHU+JIrWOF/PdSP0UoMgYY3cjHwIV+kmVfPPC5oAXvjnHYVE PRE8WPZsNEh7Mhr/53vFIiZA8ekVroTXPdAwN4x5NzWtrLkV1whxZjE/ylgBmmVmBucS 9sacjN72QT1UESBQfxoAHzlOOXX0eCx6jG7LfitEu3MkEhnxm4aAKbAw8K7ryoXLx5yM J5Dojy8yPCDuheATPGaHTgXSbb6gYaCdfFxdtrl0SQqpAi+qOLIpnofwfLbFGLJ87Jy5 jiaw== 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=vq428MHm0e2iH5FmAw99YrRFG+uosDFw3Aq4HMJMTIU=; b=nn09P82aIt9OOoJymOB1uy4FLO5/pk3bF/kHNWkfBKsXn1AcJ7uj4pTF6eWVJMqRmE 6ql/QPvYiVb6fHWrviCfUv/jjk1+m43Qww+1vUmWteMiYUmRCeyhI9fRhu+wWC2j+J1u X/mE7xj/yDWJhunDish3PlMvkIiVN2p7eMDxBOD2MM14+TRmwmlouUP6uuSgqom6MsI1 45g62ixyrwq1EINaN3xuM4IsmAKacw2NHS0N9ASIYdkZFt+TGe1wHs84vceOJmXtfLPp zNlH+WAMaUfL2ZYpJv2qWC6uNL5iCGzqcnNh6QUgDzbA8dqM+kEufGbsdmLCsWeV0N6I a+xw== X-Gm-Message-State: AHQUAubAnqk/XECzn7vES9xE7aeUrnx+YbB3fBs5Cz/7hCLPslitv+4A nesJg3XppRisXMnkwfCUdVRRtmWlYvtqb6ccfFxSSg== X-Google-Smtp-Source: AHgI3IbFKHkvil6A6TqWEGbDSaFZckRx6l75m2o+zDn03oX+VumZXXItmcm4N/Y2yJTVdvU5ymxZzn0REdfRkFYG3tw= X-Received: by 2002:a5e:dd0c:: with SMTP id t12mr7849923iop.258.1549098905984; Sat, 02 Feb 2019 01:15:05 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 2 Feb 2019 10:14:48 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000000366450580e5b2c1" Subject: Re: Disable PEAR by default From: nikita.ppv@gmail.com (Nikita Popov) --0000000000000366450580e5b2c1 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 > To reiterate what Peter has said: This is not about whether you personally like PEAR or Composer. There is no suggestion here to replace PEAR with Composer in our distribution. We simply shouldn't be making an endorsement either way. I understand that distros are having a hard time dealing with the fact that pretty much all modern package management (in PHP and elsewhere) has moved towards per-project rather than global dependencies. However, complaining about that on this thread is not going to bring PEAR back to popularity. We have to deal with the situation as it is, not as we would like it to be. Nikita --0000000000000366450580e5b2c1--