downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Runtime Configuration> <Requirements
Last updated: Fri, 20 Nov 2009

view this page in

Installation

The XMLReader extension is available in PECL as of PHP 5.0.0 and is included and enabled as of PHP 5.1.0 by default. It can be enabled by adding the argument --enable-xmlreader (or --with-xmlreader before 5.1.0) to your configure line. The libxml extension is required.



add a note add a note User Contributed Notes
Installation
s dot coletta at unidata dot it
27-May-2009 02:43
When you type:

pecl install XMLReader

and installation fails with this error:

Fatal error: Call to undefined function preg_match() in /usr/share/pear/PEAR/Frontend/CLI.php on line 57

You can temporarily fix it by removing the -n flag from the pecl script.

By removing the -n flag it will use your php.ini.
alvaro at digdib dot com
02-Jan-2009 08:33
Gentoo users: emerge does not compile dev-lang/php with --enable-xmlreader by default. To enable this option, add the flag xmlreader to your USE variable and recompile php.

Runtime Configuration> <Requirements
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites