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

search for in the

実行時設定> <要件
[edit] Last updated: Fri, 10 Feb 2012

view this page in

インストール手順

XMLReader 拡張モジュールは、PHP 5.0.0 では PECL から取得可能です。 また、PHP 5.1.0 ではデフォルトで組み込まれ、有効になっています。 configure 時に、引数 --enable-xmlreader (5.1.0 より前では --with-xmlreader ) を指定することでも有効にできます。

この拡張モジュールはデフォルトで有効になっています。無効にしたい場合は、次のオプションを指定してコンパイルします。 --disable-xmlreader



add a note add a note User Contributed Notes インストール手順
s dot coletta at unidata dot it 27-May-2009 06: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 11: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.

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