title: How to enable XMLReader in PHP without reconfiguring PHP?
body: <p>My PHP info has this:</p>
  
  <pre><code>Configure Command : '--with-libxml-dir=/usr' 
                      '--enable-xml' 
                      '--disable-xmlreader' 
                      '--disable-xmlwriter' 
  </code></pre>
  
  <p>i.e. my <code>xmlwriter</code> &amp; <code>xmlreader</code> have not been enabled during installation.</p>
  
  <p><br/></p>
  
  <blockquote>
  <pre><code>                               libxml 
  </code></pre>
    
    <p>libXML support &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;active<br/><br/>
    libXML Compiled Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.7.8<br/><br/>
    libXML Loaded Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20708<br/><br/>
    libXML streams&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enabled <br/></p>
  </blockquote>
  
  <p>from <a href="http://www.php.net/manual/en/xmlreader.configuration.php" rel="nofollow">php.net manual for XMLReader</a></p>
  
  <blockquote>
    <h1>Runtime Configuration</h1>
    
    <p>This extension has no configuration directives defined in <em>php.ini</em>.<br/></p>
  </blockquote>
  
  <p>How do I enable XMLReader? / Do I have have to compile my PHP again with --enable-xmlreader? </p>