I am trying to add a package to pear. I am upgrading from PHP 5.0 to PHP 5.1 The OS is Redhat 8. When I attempt to install the package I get "no handlers for package.xml version 2." Current version of Archive_Tar is 1.3.1 and Pear is 1.4.11.
The package is MDB2_Driver_ibase.
FYI I am using Apache 2.x and i even attpemted to install the package from a local "tgz" file after I attempted from the regular installation. Several packages like MDB2 gave the same error when I attempted to install them.
Any assistance will be appreciated.
using PEAR with package 2.0 error
Moderators: Website/Forum Admins, Other/Off Topic Moderators
http://www.go-pear.org/manual/en/faq.no-handlers.php
Why do I get "No handlers for package.xml version 2.0" when I try to install a package?
You are using a PEAR version lower than 1.4.0.
To install the package, you have to update PEAR via:
$ pear upgrade PEAR
This will install the latest available version of PEAR which is capable of installing packages that have only a package.xml version 2.0.
you say you have pear 1.4.11, but are you sure that is the one being used? it's possible you have multiple versions installed on your system if you custom compiled PHP.
Why do I get "No handlers for package.xml version 2.0" when I try to install a package?
You are using a PEAR version lower than 1.4.0.
To install the package, you have to update PEAR via:
$ pear upgrade PEAR
This will install the latest available version of PEAR which is capable of installing packages that have only a package.xml version 2.0.
you say you have pear 1.4.11, but are you sure that is the one being used? it's possible you have multiple versions installed on your system if you custom compiled PHP.
In God we trust,
Everyone else must have an X.509 certificate.
Everyone else must have an X.509 certificate.
Who is online
Users browsing this forum: No registered users and 3 guests