Re: [RFC] Sunset PECL

From: Date: Fri, 20 Nov 2026 11:22:59 +0000
Subject: Re: [RFC] Sunset PECL
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-133139@lists.php.net to get a copy of this message
Hi On 2026-11-11 21:00, James Titcumb wrote:
- reduce the overall timeline to 1yr, bring forward all the 2029 dates to 2027. That's 6 months of "heads up", and 6 months of "read only mode plus brownouts" before shutdown ad the end of 2027. Ah sorry - misread, but I do think reducing to 6 months of read-only phase will minimise the surface risk that Rowan pointed out, and also minimise any potential manual work we might to carry out to manage vulnerabilities. I've updated the RFC wording accordingly to mention the approach to mitigate any potential vulnerability risks, and reduce the timeline to one year overall.
I believe the adjusted timeline is a tad to fast: Even though the --with-pear configure flag for PHP is already deprecated, it still exists with the just-released PHP 8.6. The earliest version we could remove the flag entirely is with PHP 8.7, thus next November. That would be just one month before the proposed shutdown date. In practice this means that folks would have little direct heads up that their existing “production build set-up” would break: They upgrade to PHP 8.6 just fine, continuing to use --with-pear as they always did and pecl works, until it doesn't. By first removing the --with-pear for PHP 8.7 there would be a more explicit indication that PECL is actually going away now. As such, while the RFC is correct in that this is not technically related to PHP’s release cycle, I think there are arguments to account for that nevertheless. This is also what I noted in my previous email with the initial timeline nicely lining up with Docker (who already dropped PECL for 8.6): https://news-web.php.net/php.internals/133017 So I would favor the middle-ground that Derick technically proposed: Extend this through 2028 and make sure --with-pear is gone from 8.7. Best regards Tim Düsterhus

« previous php.internals (#133139) next »