Home » PEAR » PEAR » Bug #710
Pear dependency list wrong
Details
| Submitted | 2004-02-08 16:53 UTC |
|---|---|
| From | rm at voices dot ru |
| Assigned | pajoye |
| Status | Closed |
| Package | PEAR |
| PHP Version | Irrelevant |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2004-02-08 16:53 UTC] rm at voices dot ru
Description:
------------
The Dependencies list on the PEAR webpage(http://pear.php.net/package/PEAR/) declares the need for "PHP Version: PHP 4.1 or newer".
This is incorrect, because PEAR.php(and possibly other files) makes heavy use of the "is_a" function, which has been added only in "PHP 4 >= 4.2.0" (http://www.php.net/is_a).
[2004-09-09 10:51 UTC] pear1 dot 20 dot teetasse at spamgourmet dot com
At least on the webpage, the dependencies are still wrong. The dependencies state that PHP 4.1 is sufficient up to PEAR 1.3 whereas you need PHP 4.2 for PEAR >= 1.3.1.
I analyzed PEAR.php and found out that this is correct up to PEAR 1.3b5, but both 1.3b6 and 1.3 already depend on PHP 4.2, which introduced the the "is_a"-function. I suggest to change the dependencies for these two versions.
I consider this still important because some (cheap) web hosters still use PHP 4.1 and people tend to download the most current and stable PEAR package they can get for it. This seems to be version 1.3, but it fails due to wrong dependencies.