Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages in full color showing how to combine Symfony with Docker, APIs, queues & async tasks, Webpack, Single-Page Applications, etc.

Buy printed version

Problem with PEAR 1.4.7

If you run commands that use PEAR (like pear upgrade or symfony plugin-install), you might get the following error:

  Discovery of channel "pear.symfony-project.com" failed.

This is due to a bug in the version 1.4.7 of PEAR. This version doesn't recognize channel names containing dashes, and - damn - our channel is called "pear.symfony-project.com".

There are two possible workarounds, until the bug is fixed by the PEAR team:

- downgrade PEAR to 1.4.6 by typing

  pear upgrade -f PEAR-1.4.6

- apply the patch to the PEAR bug #6960 manually

Sorry for that, it should soon be fixed with a new PEAR release.

Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.

Comments

Thanks for the info.
I was using XAMPP on Windows and got this error due to PEAR-1.4.7
Thanks!
I did not have to have useless time.

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.