<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">On Mar 28, 2025, at 20:07, Horst B Simon wrote:</div><div dir="ltr"><blockquote type="cite"><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>I checked the MacPorts documentation, but did not understand on downgrading a port. </span><br><span>I am trying to install pear using the phar download, but my version of php is failing the install.</span><br><span>By searching on internet I found that it is a compatibility with libxml2, the current installed version</span><br><span>is 2.13.2 and the information is that libxml2 2.13 is not compatible and libxml2 2.12 should be working. </span><br><span>Is it possible that I can download and build libxml2 2.12 from MacPorts and if so how to do it. </span><br><span>The older version of php is needed for Horde Webmail 5.22, that’s why I cannot use php8.2 or higher.</span></div></blockquote><br><div>Older versions of php are available in MacPorts however they don't build on newer versions of macOS at present. There are tickets. I will work on them eventually. </div><div><br></div><div>I don't think I'm aware of an incompatibility between older php and newer libxml2 however it wouldn't surprise me. I will presumably discover these problems when I work on the tickets and will resolve them then. </div><div><br></div><div>To downgrade libxml2, follow:</div><div><br></div><div><a href="https://trac.macports.org/wiki/howto/InstallingOlderPort">https://trac.macports.org/wiki/howto/InstallingOlderPort</a></div><div><br></div><div>Downgrading a central port like libxml2 will likely cause you all kinds of problems so I <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">don't recommend it</span>. Maybe revupgrade will notice and rebuild the affected ports.</div></body></html>