Re: php5 compatibility

From: Date: Tue, 13 Jan 2004 17:23:17 +0000
Subject: Re: php5 compatibility
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25033@lists.php.net to get a copy of this message
On 13 Jan 2004 at 17:18, Pierre-Alain Joye wrote: > 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;) I just thought that there might be volunteers that will try out several packages with php 4.x and 5.0 in the following weeks. However if a packages does not run smoothly with php 5 it might be useful to mark it php4-only until the issues have been fixed. For that a new minor-release for that package would be needed to be able to have an updated package.xml. So I suggested we might find another way ... Stefan

« previous php.pear.dev (#25033) next »