Re: pear command problem after upgrade
| From: | Greg Beaver | Date: | Tue, 18 Oct 2005 14:23:22 +0000 |
| Subject: | Re: pear command problem after upgrade | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21526@lists.php.net to get a copy of this message | ||
Massimiliano Arione wrote:
> I just updated my pear package, along with some other packages of my
> distro (Ubuntu 5.04).
> Now, if I try the pear command in a terminal, I receive this error:
>
> Fatal error: Cannot instantiate non-existent class:
> pear_command_build-init in /usr/share/php/PEAR/Command.php on line 271
>
> no matter the parameters, I tried pear list, pear ugprade, pear -V, ...
>
> Any idea to fix it? :-|
Did you, by chance, have PEAR 1.4.x installed, and Ubuntu's PEAR distro
is version 1.3.x? If so, delete /usr/share/php/PEAR/Command/*-init.php
Greg