<?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>Australian Author - Trent Hayes &#187; website code tips</title>
	<atom:link href="http://www.trenthayes.com/topics/i_need_help_with/computer-tips/website-tips-for-beginners/website-code-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trenthayes.com</link>
	<description>Tips &#38; advice for Writing, Publishing &#38; Small Business</description>
	<lastBuildDate>Sat, 31 Dec 2011 15:10:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>My server runs php4, but I need php5</title>
		<link>http://www.trenthayes.com/i_need_help_with/computer-tips/website-tips-for-beginners/website-code-tips/my-server-runs-php4-but-i-need-php5/</link>
		<comments>http://www.trenthayes.com/i_need_help_with/computer-tips/website-tips-for-beginners/website-code-tips/my-server-runs-php4-but-i-need-php5/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 06:18:40 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[website code tips]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[code help]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php4]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://www.trenthayes.com/?p=14</guid>
		<description><![CDATA[
			
				
			
		
Many webservers run both php4 and php5 together.
Rather than bore you with the whys and wherefores &#8211; here is a simple solution that works on cpanel based servers.
Adding this line to your .htaccess file (remember to always make a backup!) which should be in your /public_html/ folder gives you php5
AddHandler application/x-httpd-php5 .php .php3 .phtml .php5
 [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.trenthayes.com/i_need_help_with/computer-tips/website-tips-for-beginners/website-code-tips/my-server-runs-php4-but-i-need-php5/' send='true' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.trenthayes.com%2Fi_need_help_with%2Fcomputer-tips%2Fwebsite-tips-for-beginners%2Fwebsite-code-tips%2Fmy-server-runs-php4-but-i-need-php5%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.trenthayes.com%2Fi_need_help_with%2Fcomputer-tips%2Fwebsite-tips-for-beginners%2Fwebsite-code-tips%2Fmy-server-runs-php4-but-i-need-php5%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Many webservers run both php4 and php5 together.</p>
<p>Rather than bore you with the whys and wherefores &#8211; here is a simple solution that works on cpanel based servers.</p>
<p>Adding this line to your .htaccess file <span style="color: #808000;">(remember to always make a backup!)</span> which should be in your <strong>/public_html/</strong> folder gives you php5</p>
<p><span style="color: #008080;">AddHandler application/x-httpd-php5 .php .php3 .phtml .php5</span></p>
<div id="wherego_related"> </div><fb:like href='http://www.trenthayes.com/i_need_help_with/computer-tips/website-tips-for-beginners/website-code-tips/my-server-runs-php4-but-i-need-php5/' send='true' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like>]]></content:encoded>
			<wfw:commentRss>http://www.trenthayes.com/i_need_help_with/computer-tips/website-tips-for-beginners/website-code-tips/my-server-runs-php4-but-i-need-php5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

