<?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>Ravi's Rants &#187; Code Snippets</title>
	<atom:link href="http://ravisrants.com/category/code-snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://ravisrants.com</link>
	<description>Rndaom, Yet </description>
	<lastBuildDate>Sun, 14 Feb 2010 05:55:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Check If Your Web Site Can Run PHP Scripts (or WordPress)</title>
		<link>http://ravisrants.com/2008/04/10/how-to-check-if-your-web-site-can-run-php-scripts-or-wordpress/</link>
		<comments>http://ravisrants.com/2008/04/10/how-to-check-if-your-web-site-can-run-php-scripts-or-wordpress/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 19:32:11 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP Code]]></category>
		<category><![CDATA[PHP Scripts]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://ravisrants.com/2008/04/10/how-to-check-if-your-web-site-can-run-php-scripts-or-wordpress/</guid>
		<description><![CDATA[
Create a file called phpinfo.php 

Enter these few lines of code in it: (you can copy-paste from below):
&#60;?php
phpinfo&#40;&#41;;
?&#62;

Upload this to your root folder (where your home page (index.htm or index.html etc) lives.

Access this script via the browser like this:
http://www.YourSite.com/phpinfo.php

You should see a nice page come up, with the PHP logo and headers, that shows all [...]]]></description>
			<content:encoded><![CDATA[<p></p><ol>
<li>Create a file called <strong>phpinfo.php</strong> </li>
<p><br/></p>
<li>Enter these few lines of code in it: (you can copy-paste from below):<br/><br />
<code>&lt;?php<br />
phpinfo&#40;&#41;;<br />
?&gt;</code></li>
<p><br/></p>
<li>Upload this to your root folder (where your home page (index.htm or index.html etc) lives.</li>
<p><br/></p>
<li>Access this script via the browser like this:<br/><br />
<code>http://www.YourSite.com/phpinfo.php</code></li>
<p><br/></p>
<li>You should see a nice page come up, with the PHP logo and headers, that shows all of your PHP configuration and settings. If you see it, then: <strong>Hurrah, you can run PHP on your site!</strong></li>
<p><br/></p>
<li>If you see some kind of errors, first try changing the file&#8217;s permissions (chmod) to 755. (<a href="http://www.MyWebmasterInABox.com/kb/chmod.php" target="_new">CHMOD Tutorial</a>)</li>
<p><br/></p>
<li>If that still doesn&#8217;t work, then you&#8217;re probably SOL (S#!t Outta Luck). Confirm it with your web host.</li>
<p><br/></p>
<li>If your web host doesn&#8217;t support PHP, don&#8217;t waste your time &#8211; or your web site &#8211; with your current host. Just switch to <a href="http://www.dream-host.biz" target="_new">where I host my own sites</a>.</li>
<p><br/></p>
<li><strong>WARNING</strong>: Don&#8217;t forget to <strong>delete the phpinfo.php file</strong> from your web site. Hackers can figure out a lot of stuff from this page!</li>
<p><br/><br/>
</ol>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://ravisrants.com/2008/04/10/how-to-check-if-your-web-site-can-run-php-scripts-or-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
