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 the configure line.

This extension is enabled by default. It may be disabled by using the following option at compile time: --disable-xmlreader

add a note add a note

User Contributed Notes 2 notes

up
-12
alvaro at digdib dot com
15 years ago
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.
up
-31
Miguel Cruz
11 years ago
If you are having trouble loading this extension (perhaps with a log message like 'Undefined symbol "dom_node_class_entry"'), make sure that you have xmlreader.so listed AFTER dom.so in php.ini.
To Top