<?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>hocuspokus &#187; php</title>
	<atom:link href="http://hocuspokus.net/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://hocuspokus.net</link>
	<description>the life and times of a code monkey</description>
	<lastBuildDate>Tue, 01 Jun 2010 16:40:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Installing Apache and PHP&#160;Troubles</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2007%2F11%2Finstalling-apache-and-php-troubles&amp;seed_title=Installing+Apache+and+PHP%26%23160%3BTroubles</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2007%2F11%2Finstalling-apache-and-php-troubles&amp;seed_title=Installing+Apache+and+PHP%26%23160%3BTroubles#comments</comments>
		<pubDate>Tue, 13 Nov 2007 21:29:18 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/2007/11/13/installing-apache-and-php-troubles/</guid>
		<description><![CDATA[I just recently set Apache up on my home server (more on the server at some point in the future), but I was having problems serving up php pages. Every time I tried to access a php based page, Firefox &#8230; <a href="http://hocuspokus.net/feeder/?FeederAction=clicked&#38;feed=Articles+%28RSS2%29&#38;seed=http%3A%2F%2Fhocuspokus.net%2F2007%2F11%2Finstalling-apache-and-php-troubles&#38;seed_title=Installing+Apache+and+PHP%26%23160%3BTroubles">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just recently set Apache up on my home server (more on the server at some point in the future), but I was having problems serving up php pages.  Every time I tried to access a php based page, Firefox came up asking if I wanted to download a &#8216;.PHTML&#8217; file!!! <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-sad.png' alt=':(' class='wp-smiley' /> </p>

<p>Thankfully the answer (like most things with Ubuntu) was found on the <a href="http://ubuntuforums.org/showthread.php?t=209120">Ubuntu Forums</a>&#8230;</p>

<p>Simply edit the file <code>/etc/apache2/apache2.conf</code> by adding the following line:</p>

<pre><code>AddType application/x-httpd-php .php .phtml
</code></pre>

<p>Now php files should be handled by the server in the way that they were intended.</p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2007%2F11%2Finstalling-apache-and-php-troubles&amp;seed_title=Installing+Apache+and+PHP%26%23160%3BTroubles/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->