<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gilluminate &#187; XML</title>
	<atom:link href="http://www.gilluminate.com/tag/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gilluminate.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 Jun 2010 02:50:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>parsing XML with PHP on Apache2 server with apache-mod_php installed</title>
		<link>http://www.gilluminate.com/2007/01/30/parsing-xml-with-php-on-apache2-server-with-apache-mod_php-installed/</link>
		<comments>http://www.gilluminate.com/2007/01/30/parsing-xml-with-php-on-apache2-server-with-apache-mod_php-installed/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 05:45:00 +0000</pubDate>
		<dc:creator>Jason Gill</dc:creator>
				<category><![CDATA[Developer Blog]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://blog.gillumiante.com/2007/01/31/parsing-xml-with-php-on-apache2-server-with-apache-mod_php-installed</guid>
		<description><![CDATA[There are many examples of how to parse through an XML document using PHP out on the web by doing a quick google search. I was having problems because even while following all of those examples, I was getting the following error: PHP Fatal error: Call to undefined function: xml_parser_create&#40;&#41; Everywhere I searched said &#8220;you [...]]]></description>
			<content:encoded><![CDATA[<p>There are many examples of how to parse through an XML document using PHP out on the web by doing a quick <a href="http://www.google.com/search?&amp;q=php+xml">google search</a>. I was having problems because even while following all of those examples, I was getting the following error:</p>
<p>
<div class="wp_codebox"><table><tr id="p82"><td class="code" id="p8code2"><pre class="php" style="font-family:monospace;">PHP Fatal error<span style="color: #339933;">:</span>  Call to undefined <span style="color: #000000; font-weight: bold;">function</span><span style="color: #339933;">:</span>  <a href="http://www.php.net/xml_parser_create"><span style="color: #990000;">xml_parser_create</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></td></tr></table></div>

</p>
<p>Everywhere I searched said &#8220;you need to recompile PHP and use &#8211;with-xml and it will get rid of this error. Well, I didn&#8217;t compile PHP in the first place, I installed Apache2 as an RPM in Mandrake and the PHP module (apache-mod_php) to go with it. I couldn&#8217;t find anywhere that told me how to add XML support to PHP in that case.</p>
<p>After many hours of searching, I finally discovered that you need to also install the <a href="http://rpm.pbone.net/index.php3?stat=3&amp;search=php-xml&amp;srodzaj=3">php-xml RPM</a> and the problem will go away. Seems easy enough now, but I was really having a difficult time finding the answer to this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gilluminate.com/2007/01/30/parsing-xml-with-php-on-apache2-server-with-apache-mod_php-installed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
