PHP and PEAR version dependencies

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,
I would like to know if on a system with

PEAR Version: 1.3.2
PHP Version: 4.3.10

it is possible to update the version of pear without updating the
version of php in order to install recent versions of pear modules
without changing the php.
Moreover, does this make sense? I think that probably many pear
modules can be used with php4, also if cannot be installed with old
version of pear (am I wrong?) For a given pear module is anyware
documented the supported php version?

Thanks in advance


Re: PHP and PEAR version dependencies

Vale wrote:
Quoted text here. Click to load it

I guess it would depend on exactly which package(s) you want to update.

You'll probably get your best information in, where the  
developers hang out.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: PHP and PEAR version dependencies

On Mon, 27 Aug 2007 09:39:11 -0700, Vale wrote:
Quoted text here. Click to load it

Definitely. PEAR itself still runs fine on PHP 4, although you should  
probably consider upgrading to 4.4.7 for non-PEAR reasons to do with  

Note that 1.3.2 is a _really_ old version of PEAR, though, and upgrading  
will be slightly more difficult than just running "pear upgrade PEAR".  
The instructions are at , but  
it basically boils down to running four pretty simple upgrade commands at  
the command line.

Quoted text here. Click to load it

You can see which version of PHP a given PEAR package requires by going  
to the "Download" tab of the package home page. For example, the relevant  
page for the MDB2 package is at
download, and indicates that it has a dependency on PHP 4.3.2 or later.

Note that you will need to upgrade PEAR to at least version 1.4 (and  
preferably the current version 1.6.1) before you can install a lot of  
recent package versions, as the package metadata format changed from PEAR  
1.3 to 1.4.


To e-mail: don't make an example out of me!

Site Timeline