<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Requirements</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="xml.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="xml.installation.html">Installation</a></div> <div class="up"><a href="xml.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="xml.requirements" class="section"> <h2 class="title">Requirements</h2> <p class="para">This extension requires the <a href="book.libxml.html" class="link">libxml</a> PHP extension. This means that passing in <strong class="option configure">--enable-libxml</strong> is also required, although this is implicitly accomplished because libxml is enabled by default.</p> <p class="para"> This extension uses an <span class="productname">expat compat layer</span> by default. It can use also <span class="productname">expat</span>, which can be found at <a href="http://www.jclark.com/xml/expat.html" class="link external">» http://www.jclark.com/xml/expat.html</a>. The Makefile that comes with <span class="productname">expat</span> does not build a library by default, you can use this make rule for that: <div class="example-contents"> <div class="makefilecode"><pre class="makefilecode">libexpat.a: $(OBJS) ar -rc $@ $(OBJS) ranlib $@</pre> </div> </div> A source RPM package of expat can be found at <a href="http://sourceforge.net/projects/expat/" class="link external">» http://sourceforge.net/projects/expat/</a>. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="xml.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="xml.installation.html">Installation</a></div> <div class="up"><a href="xml.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>