Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6919851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:03:09+00:00 2026-05-27T10:03:09+00:00

My PHP info has this: Configure Command : ‘–with-libxml-dir=/usr’ ‘–enable-xml’ ‘–disable-xmlreader’ ‘–disable-xmlwriter’ i.e. my

  • 0

My PHP info has this:

Configure Command : '--with-libxml-dir=/usr' 
                    '--enable-xml' 
                    '--disable-xmlreader' 
                    '--disable-xmlwriter' 

i.e. my xmlwriter & xmlreader have not been enabled during installation.

                               libxml 

libXML support                       active

libXML Compiled Version        2.7.8

libXML Loaded Version           20708

libXML streams                       enabled

from php.net manual for XMLReader

Runtime Configuration

This extension has no configuration directives defined in php.ini.

How do I enable XMLReader? / Do I have have to compile my PHP again with –enable-xmlreader?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:03:10+00:00Added an answer on May 27, 2026 at 10:03 am

    I found a workaround:

    First Install the package php-xml for my system: php-xml.x86_64

    Package description:
    php-xml.x86_64 : A module for PHP applications which use XML

    Install the above mentioned package(respective to your system) to enable XMLReader, XMLWriter.

    php -i
    

    has this now:

    '--with-libxml-dir=/usr' 
    '--enable-xml' 
    '--enable-xmlreader=shared' 
    '--enable-xmlwriter=shared'
    

    I have also tested whether the package is enabled by creating an object of XMLReader.
    But, I think I will be going with SimpleXML because I have to read very small xml files & because of its lower memory consumption. Read here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is this valid and correct? RewriteRule ^myOldPage.html$ /index.php#info [R] I'm specifically interested about the
Say I have info.php page with user info (id, name, age, etc). On this
I have this code in PHP $max=SELECT MAX(num) FROM info; $maxquery= mysql_query($max) or die
When I have this PHP script. <?php exec('/usr/local/bin/mate hello.txt'); ?> It doesn't work on
I wanted to set .htaccess to rewrite: example.com/bla/info/ to example.com/info/index.php?q=bla example.com/bla/info/txt/ to example.com/info/index.php?q=bla&t=txt I
Environment info: *Windows Vista *PHP 5.2.9-2 I'm working on a project. Let's say it's
I some php code which gets info from a mysql database. The problem is
I am sending info to target email via PHP native mail() method right now.
I'm working on a script in PHP that needs to get some info from
I have a MD5 hash: 10f86782177490f2ac970b8dc4c51014 http://www.fileformat.info/tool/hash.htm?text=10f86782177490f2ac970b8dc4c51014 Result: c74e16d9 but PHP: crc32('10f86782177490f2ac970b8dc4c51014'); Result: -951183655

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.