Pear install fails using

"Horst Simon" <[email protected]> Fri, 28 Mar 2025 08:11:45 +0000
Newsgroups gmane.comp.php.install
Message-ID <[email protected]>
--------=_MBC3DAD91B-85DF-4BCB-8B17-FA668B9D25C4
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi,
I try to install pear on php74 using following
php -d detect_unicode=3D0 go-pear.phar
and it fails as follow
installing phar:///private/tmp/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-=
1.4.5.tar...
parsePackageName(): array $param must contain a valid package name in "phar=
:///private/tmp/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.10.16.tar"
Invalid tag order in <dependencies>, found <_content> expected one of "grou=
p"
Parsing of package.xml from file "/private/tmp/pear/install/pearXuHHr9/pack=
age.xml" failed

I know php-7.4 is EOL, but horde groupware 5.22 will not work with the high=
er versions.

The operating system is macOS High Sierra and php74 installed from macports=
. This
problem is fixed with a patch from php 8.2 on.

Can anyone please let me know what is patched and where to download it from =
so I can apply it to php7.4

Thanks and Regards,
Horst Simon
--------=_MBC3DAD91B-85DF-4BCB-8B17-FA668B9D25C4
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html;charset=3Dutf-8" />



</head>
<body class=3D"plain" dir=3D"auto">
<div class=3D"plain_line">Hi,</div>
<div class=3D"plain_line">I try to install pear on php74 using following</d=
iv>
<div class=3D"plain_line">php -d detect_unicode=3D0 go-pear.phar</div>
<div class=3D"plain_line">and it fails as follow</div>
<div class=3D"plain_line">installing phar:///private/tmp/go-pear.phar/PEAR/=
go-pear-tarballs/XML_Util-1.4.5.tar...</div>
<div class=3D"plain_line">parsePackageName(): array $param must contain a v=
alid package name in "phar:///private/tmp/go-pear.phar/PEAR/go-pear-tarball=
s/PEAR-1.10.16.tar"</div>
<div class=3D"plain_line">Invalid tag order in &lt;dependencies&gt;, found=
 &lt;_content&gt; expected one of "group"</div>
<div class=3D"plain_line">Parsing of package.xml from file "/private/tmp/pe=
ar/install/pearXuHHr9/package.xml" failed</div>
<div class=3D"plain_line">=C2=A0</div>
<div class=3D"plain_line">I know php-7.4 is EOL, but horde groupware 5.22 w=
ill not work with the higher versions.</div>
<div class=3D"plain_line">=C2=A0</div>
<div class=3D"plain_line">The operating system is macOS High Sierra and php=
74 installed from macports. This</div>
<div class=3D"plain_line">problem is fixed with a patch from php 8.2 on.</d=
iv>
<div class=3D"plain_line">=C2=A0</div>
<div class=3D"plain_line">Can anyone please let me know what is patched and =
where to download it from so I can apply it to php7.4</div>
<div class=3D"plain_line">=C2=A0</div>
<div class=3D"plain_line">Thanks and Regards,</div>
<div class=3D"plain_line">Horst Simon</div>


</body></html>
--------=_MBC3DAD91B-85DF-4BCB-8B17-FA668B9D25C4--