Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14969 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41450 invoked by uid 1010); 15 Feb 2005 13:56:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41403 invoked from network); 15 Feb 2005 13:56:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Feb 2005 13:56:30 -0000 X-Host-Fingerprint: 216.117.147.250 unknown Linux 2.4/2.6 Received: from ([216.117.147.250:35405] helo=ctindustries.net) by pb1.pair.com (ecelerity 1.2.11rc1 (r4431)) with SMTP id 38/5A-08075-A8FF1124 for ; Tue, 15 Feb 2005 08:56:27 -0500 Received: from [127.0.0.1] (dsta-aa203.pivot.net [66.186.171.203]) (authenticated bits=0) by ctindustries.net (8.12.8/8.12.8) with ESMTP id j1FCnraR030029; Tue, 15 Feb 2005 07:50:11 -0500 Message-ID: <42120078.4050505@ctindustries.net> Date: Tue, 15 Feb 2005 09:00:24 -0500 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christian Stocker CC: Wez Furlong , Christian Schneider , internals@lists.php.net References: <420ED226.3090702@bitflux.ch> <420F8D1F.4010402@bitflux.ch> <5.1.0.14.2.20050214162726.03794bd0@localhost> <20050215010122.39406.qmail@lists.php.net> <4e89b42605021417374ce885e1@mail.gmail.com> <4211ABDC.9070202@bitflux.ch> In-Reply-To: <4211ABDC.9070202@bitflux.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/706/Sun Feb 13 19:14:02 2005 on ctindustries.net X-Virus-Status: Clean Subject: Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP From: rrichards@ctindustries.net (Rob Richards) Just to clarify soap. Soap will work under 2.6.0. I still have 2.6.3 stuck in my head, but it may just be due to the fact that the windows build system is messed up for the early versions (can't really remember why I think 2.6.3 as a minimum version though). I don't mind the ifdef'ing as much as the other issues that exist: - soap requiring 2.6.x. If its part of the core, it should only require the libxml version defined for the libxml config. - There are some differences between 2.5 and 2.6. Under PHP 5 we were able to work around some of these by adding functionality. It's more noticeable under PHP 4 where the behavior has changed and without altering the API of domxml, certain things just wont work. - Testing and tracking down bugs is a big PITA due to the differences between 2.5 and 2.6 To touch on Wez's comment about always requiring new versions. Prior to the 5.0 release a few people wanted to require 2.6 as the base version. I was dead against this due to 2.6 being quite new. At that point I opted for stability as 2.5.10 was very stable and carried by a lot of the distros. It's not that every new PHP version will be requiring a newer libxml, its just that differences betwwen 2.5 and 2.6 are very substantial (not to mention the new functionality that has been added). I think the xml developers can deal with 2.6.x as a base version without having to require further version upgrades. Yes, there may be recommened minimum versions for whatever reason (security, stability, etc..), but at least for the xml extensions in core, 2.6 offers everything needed to allow for rich xml technologies. Anything requiring newer versions can easily live in PECL and require whatever version they like. As time goes on and 2.6.x becomes outdated and the distros arent even bothing with that version anymore then it may possibly make sense to upgrade the minimum version, but I dont see anything in the immediate future that is going to require further version upgrades. And for RHEL customers. They can always grab the rpms from xmlsoft. I would assume - but not guarantee :) - the rpms are built against that since Daniel is an employee of RedHat. Rob Christian Stocker wrote: > > 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. >