On 15.2.2005 2:37 Uhr, Wez Furlong wrote:
> I was talking with George about this at lunch today. If we really
> really do require the new version, then we should add a configure
> check to enforce it, otherwise we should use appropriate #ifdefs.
The configure check was always in place (even during php 4 times). It's
just currently wrong in HEAD, as it's not decided, which version we
support ;) (and ext/soap is another chapter)
We can of course ifdef it out, but there are in my opinion different
reasons for not going further that road.
* No current known distro supports 2.5.11, they are either below that or
already at 2.6
* It's not only the ifdef'ing, but also the testing, which is a pain. We
have to compile and link all the time against 2.5 and 2.6 if we want to
support both. Given our limited resources, stuff like the current
it-s-not-compiling-on-2.5, will always happen. The latest patches are
ifdef'ed, but obviously not everywhere.
* Support and Documentation. If some DOM or XML features in PHP are only
available, if you have libxml 2.6, that does make documentation more
complicated and confuse people. And some things still do not work
properly in 2.5, like namespaces in SAX.
* New features, easier programming, improved (but BC) API.
chregu
>
> Why?
>
> Everytime we go to upgrade PHP, we find that we need to upgrade
> libxml2 as well. While it's fine for PHP to use that, what about
> other packages that also require libxml2? The paranoid sysadmin
> inside us feels reluctant/worried at that prospect.
>
> We (PHP) have had a similar issue with libcurl requirements in the
> past too, to the point where I just stopped enabling it (things were
> worse there though, as the download from sf.net was really
> unpredictable and made it very difficult to get hold of the latest and
> greatest).
>
> So, my 2 cents are: if it's too much trouble to maintain those ifdefs,
> bump the minimum requirements, otherwise, let's try to keep it
> flexible.
>
> --Wez.
>
> On Tue, 15 Feb 2005 02:01:13 +0100, Christian Schneider
> <cschneid@cschneid.com> wrote:
>
>>Andi Gutmans wrote:
>>
>>>What's the status of 2.6.x in Linux distributions? Is it already
>>>standard in the latest SUSE/Redhat distros?
>>
>>SuSE 8.1: libxml2-2.4.23
>>SuSE 8.2: libxml2-2.5.3
>>SuSE 9.0: libxml2-2.5.10
>>SuSE 9.1: libxml2-2.6.7
>>SuSE 9.2: libxml2-2.6.12
>>
>>I'd say that at least SuSE 8.2 and 9.0 are still quite common though.
>>
>>- Chris
>>
>>--
>>PHP Internals - PHP Runtime Development Mailing List
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB