Re: [PHP-DEV] XML requirements: Are the docs incorrect ? + ext/soap

2004-08-27 Thread Andrey Hristov
ext/soap pumped up the minimal requirement. It uses xmlBufferCreateStatic which
is not found in the 2.5.x libxml2 . I upgraded to 2.6.7 and this helped. Probably
when --disable-soap is used  one can use 2.5.10+ . For me
libxml2-2.5.10-29.i586.rpm (suse 9.0) didn't work.
andrey
George Schlossnagle wrote:
On Aug 26, 2004, at 10:28 PM, Naik, Roshan wrote:
Yes, you have it to pick up from xmlsoft.org
There is no mention of the minimal libxml2 version required anywhere
either. The old dom-xml needed = 2.4.14
But on PHP5 It doesnt seem to like 2.5.9 either.
any clue whats the minimal supported version ?

configure will tell you (when it fails).When you ran configure it 
should have failed and told you:

libxml2 version 2.5.10 or greater required.
Install questions in general should go to [EMAIL PROTECTED]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DEV] XML requirements: Are the docs incorrect ? + ext/soap

2004-08-27 Thread Christian Stocker

On 27.8.2004 9:31 Uhr, Andrey Hristov wrote:
ext/soap pumped up the minimal requirement. It uses 
xmlBufferCreateStatic which
is not found in the 2.5.x libxml2 . I upgraded to 2.6.7 and this helped. 
Probably
when --disable-soap is used  one can use 2.5.10+ . For me
libxml2-2.5.10-29.i586.rpm (suse 9.0) didn't work.
Didn't work with --disable-soap?
If that's the case, something's fishy somewhere else and this shouldn't 
be the case currently

chregu
andrey
George Schlossnagle wrote:
On Aug 26, 2004, at 10:28 PM, Naik, Roshan wrote:
Yes, you have it to pick up from xmlsoft.org
There is no mention of the minimal libxml2 version required anywhere
either. The old dom-xml needed = 2.4.14
But on PHP5 It doesnt seem to like 2.5.9 either.
any clue whats the minimal supported version ?

configure will tell you (when it fails).When you ran configure it 
should have failed and told you:

libxml2 version 2.5.10 or greater required.
Install questions in general should go to [EMAIL PROTECTED]

--
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  |  [EMAIL PROTECTED]  |  gnupg-keyid 0x5CE1DECB
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DEV] XML requirements: Are the docs incorrect ? + ext/soap

2004-08-27 Thread Andrey Hristov
 ok, needs clearance. 2.5.10 didn't work for me when SOAP support
was enabled. I didn't try compiling without it since I just needed this
extension compiled (usually I leave it out as well as the XML stuff).
Andrey
Christian Stocker wrote:

On 27.8.2004 9:31 Uhr, Andrey Hristov wrote:
ext/soap pumped up the minimal requirement. It uses 
xmlBufferCreateStatic which
is not found in the 2.5.x libxml2 . I upgraded to 2.6.7 and this 
helped. Probably
when --disable-soap is used  one can use 2.5.10+ . For me
libxml2-2.5.10-29.i586.rpm (suse 9.0) didn't work.

Didn't work with --disable-soap?
If that's the case, something's fishy somewhere else and this shouldn't 
be the case currently

chregu
andrey
George Schlossnagle wrote:
On Aug 26, 2004, at 10:28 PM, Naik, Roshan wrote:
Yes, you have it to pick up from xmlsoft.org
There is no mention of the minimal libxml2 version required anywhere
either. The old dom-xml needed = 2.4.14
But on PHP5 It doesnt seem to like 2.5.9 either.
any clue whats the minimal supported version ?


configure will tell you (when it fails).When you ran configure it 
should have failed and told you:

libxml2 version 2.5.10 or greater required.
Install questions in general should go to [EMAIL PROTECTED]


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DEV] XML requirements: Are the docs incorrect ?

2004-08-26 Thread George Schlossnagle
On Aug 26, 2004, at 8:51 PM, Naik, Roshan wrote:
http://www.zend.com/php5/andi-book-excerpt.php says
In PHP 5, all XML extensions have been rewritten to use the superb 
libxml2 XML toolkit

But the official docs http://us4.php.net/manual/en/ref.xml.php
on XML extension say under the requirements section
 This extension uses expat, which can be found at
 http://www.jclark.com/xml/expat.html.;
This is no longer correct.  It _can_ use expat, but by default it uses 
an expat compat layer.

There used to be some talk about bundled libxml.
I couldn't find any bundled libxml2 in the PHP5 distribution.
Is ext/libxml2 it ?
.. or do I need to pick it up from xmlsoft.org ?
You do.  There was active discussion about a year and a half ago as to 
whether to bundle it or not.  The decision was 'not'.  Search the 
archives if you are interested in the various points.

I would prefer to use libxml2 for all extensions really.
Then you're in luck, because PHP5 does.
George
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DEV] XML requirements: Are the docs incorrect ?

2004-08-26 Thread Friedhelm Betz
Hi,

 http://www.zend.com/php5/andi-book-excerpt.php says

 In PHP 5, all XML extensions have been rewritten to use the superb libxml2
 XML toolkit

 But the official docs http://us4.php.net/manual/en/ref.xml.php
 on XML extension say under the requirements section

  This extension uses expat, which can be found at
  http://www.jclark.com/xml/expat.html.;

Unfortunately nobody from phpdoc had found the spare time to update the docs.
If you file a bug report at bugs.php.net (Documentation problem) it will be 
adressed sooner or later, as somebody finds time.

 There used to be some talk about bundled libxml.
 I couldn't find any bundled libxml2 in the PHP5 distribution.
 Is ext/libxml2 it ?
 .. or do I need to pick it up from xmlsoft.org ?

Yes, you have it to pick up from xmlsoft.org

 I would prefer to use libxml2 for all extensions really.

It's possible, read the output from ./configure --help ;-)


Friedhelm
-- 
http://www.jungle-world.com/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DEV] XML requirements: Are the docs incorrect ?

2004-08-26 Thread Naik, Roshan
 Yes, you have it to pick up from xmlsoft.org
 

There is no mention of the minimal libxml2 version required anywhere
either. The old dom-xml needed = 2.4.14 
But on PHP5 It doesnt seem to like 2.5.9 either.

any clue whats the minimal supported version ?
-Roshan

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] XML requirements: Are the docs incorrect ?

2004-08-26 Thread George Schlossnagle
On Aug 26, 2004, at 10:28 PM, Naik, Roshan wrote:
Yes, you have it to pick up from xmlsoft.org
There is no mention of the minimal libxml2 version required anywhere
either. The old dom-xml needed = 2.4.14
But on PHP5 It doesnt seem to like 2.5.9 either.
any clue whats the minimal supported version ?
configure will tell you (when it fails).When you ran configure it 
should have failed and told you:

libxml2 version 2.5.10 or greater required.
Install questions in general should go to [EMAIL PROTECTED]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php