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

search for in the

Configuration à l'exécution> <Pré-requis
[edit] Last updated: Fri, 14 Jun 2013

view this page in

Installation

L'extension XMLReader était au départ une extension PECL pour PHP 5. Elle a été intégrée par la suite au source de PHP et ce, depuis la version 5.1.0. Elle est activée par défaut depuis la version 5.1.2 de PHP.

Cette extension est activée par défaut. Elle peut être désactivée en utilisant l'option de configuration : --disable-xmlreader



Configuration à l'exécution> <Pré-requis
[edit] Last updated: Fri, 14 Jun 2013
 
add a note add a note User Contributed Notes Installation - [3 notes]
up
0
Miguel Cruz
1 year 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.
up
0
alvaro at digdib dot com
4 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
-1
s dot coletta at unidata dot it
4 years ago
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.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites