PHP: Fixing “pear.php.net is using a unsupported protocol – This should never happen.” (again again)

After updating to PHP 7.4.10, I’m getting the dreaded “pear.php.net is using a unsupported protocol – This should never happen. upgrade failed.” error message when running pecl upgrade.

After a bit of searching, I found a post that suggests the command pear udpate would help. When I gried this, I got, “pear/pear dependency package “pear/Archive_Tar” downloaded version 1.4.10 is not the recommended version 1.4.4, but may be compatible, use –force to install
pear/Archive_Tar cannot be installed, conflicts with installed packages
No valid packages found.”

So, I ran pear upgrade –force archive_tar and now pecl upgrade works!

NOTE: This also appllies to php-7.3.23

Happy Slacking!
Stu…

Leave a Comment