Re: php5 compatibility
| From: | Pierre-Alain Joye | Date: | Tue, 13 Jan 2004 17:26:35 +0000 |
| Subject: | Re: php5 compatibility | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-339@lists.php.net to get a copy of this message | ||
On Tue, 13 Jan 2004 16:58:52 +0100
"Stefan Neufeind" <stefan@neufeind.net> wrote:
> It would take until every packages has had a re-release that we can be
> sure e.g. a package may not be installed together with php5. So maybe
> should the installer, for now, default for every package being for
> php4-only unless otherwise marked in the package.xml?
A strong opposition for that. However the packager may set automagically
the PHP dependency, ie using the php used to build the package.
> And how should a concrete package.xml-entry look like for php4- and/or
> php5- compatible?
here you go, these 2 lines:
<dep type="php" rel="ge" version="4.1"/>
<dep type="php" rel="lt" version="5"/>
mean a dep for php greater or equal to 4.1 and lower than 5.
I see nothing complex to manage a few deps line... I may have an hedged
opinion;)
pierre