On 7/10/25 8:05 PM, Moin Rahman wrote:

On Jul 10, 2025, at 21:03, Kaya Saman <[email protected]> wrote:

Hi,


I'm getting these errors while trying to install the @Pear port


PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string 
is deprecated in /tmp/pear/PEAR/PackageFile/Parser/v2.php on line 84
Validation Error: Invalid tag order in <dependencies>, found <_content> expected one of 
"group"
Parsing of package.xml from file "/tmp/pear/pearAwR8lU/package.xml" failed
Download of "pear/PEAR" succeeded, but it is not a valid package archive
Error: cannot download "pear/PEAR"
Download failed
Installing bootstrap package: Structures_Graph.......PHP Deprecated:  trim(): 
Passing null to parameter #1 ($string) of type string is deprecated in 
/tmp/pear/PEAR/PackageFile/Parser/v2.php on line 84
PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string 
is deprecated in /tmp/pear/PEAR/PackageFile/Parser/v2.php on line 84


I have php 8.1 installed so I'm not sure if I need to upgrade that? I recently 
just upgraded from 8.0....



Could anyone help?


Thanks.


Kaya


Hi,

pear is currently broken post libxml2 upgrade with php81.

And as php81 is expiring in less than 6 months it's better to move to 
php83/php84.

Kind regards,
Moin


Thank you! I will upgrade :-)


Does Pear work with php83/84?


Reply via email to