<?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>MetaTask Website Design</title>
	<atom:link href="http://www.metawd.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.metawd.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 05 Nov 2009 19:08:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configure PHP on XP Pro with IIS (Internet Information Service)</title>
		<link>http://www.metawd.com/blog/?p=3</link>
		<comments>http://www.metawd.com/blog/?p=3#comments</comments>
		<pubDate>Thu, 05 Nov 2009 19:08:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.metawd.com/blog/?p=3</guid>
		<description><![CDATA[Recently, I had the rather unpleasant experience of having to reformat the hard drive on my computer, and subsequently re-install Windows XP Pro, PHP, MySQL, and a host of other programs. This turned out to be entirely worth my time investment, as it now runs like it was brand new. However, I had some difficulty [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Arial; font-size: 13px;">Recently, I had the rather unpleasant experience of having to reformat the hard drive on my computer, and subsequently re-install Windows XP Pro, PHP, MySQL, and a host of other programs. This turned out to be entirely worth my time investment, as it now runs like it was brand new. However, I had some difficulty with Microsoft’s IIS (Internet Information Service) and PHP/MySQL, so I have decided to list off the specific directions to help anyone else that may be in my predicament. If you follow these steps exactly then you shouldn’t have any issues.</p>
<p>My System (for comparison)<br />
•	MS XP Pro<br />
•	Service Pack 2<br />
•	Intel Core 2 Duo @2GHz<br />
•	3.25 GB RAM</p>
<p>1)	Install Microsoft IIS onto your computer. For this step you will probably need the Windows software cd that came with your computer.<br />
a.	Go to Control Panel<br />
b.	Click on Add/Remove Windows Components<br />
c.	Check IIS, hit &#8220;Next&#8221; follow on-screen directions</p>
<p>2)	Download PHP from http://www.php.net/downloads.php. Currently I am using version 5.2.9.<br />
a.	Extract the Zipped files to C:\PHP. (PHP’s website</p>
<p>3)	PHP 5 includes a CGI executable and a CLI executable as well as the server modules. All .dll files for PPHP can be found in the folder C:\PHP\ext</p>
<p>4)	Add php5ts.dll to the Environmental Services PATH<br />
a.	Click on &#8220;Start&#8221;<br />
b.	Right-click on &#8220;My Computer&#8221;<br />
c.	Select &#8220;Properties&#8221;<br />
d.	Select &#8220;Advanced&#8221;<br />
e.	Select &#8220;Environmental Variables&#8221;<br />
f.	In the bottom panel, scroll to and double-click on &#8220;PATH&#8221; at the end of the statement, add &#8220;;C:\PHP&#8221; Do NOT forget the semi-colon, and do NOT change anything else!<br />
g.	Click &#8220;OK&#8221; on the Environmental Variables window and then on the System Properties window. Restart Computer.</p>
<p>5)	Configure PHP.<br />
a.	Navigate to C:\PHP<br />
b.	Rename php.ini-recommended to php.ini and open in any text editor<br />
c.	Search for &#8220;doc_root&#8221;<br />
d.	Delete preceding semi-colon and change to &#8220;doc_root=C:\inetpub\wwwroot<br />
e.	Search for &#8220;cgi.force_redirect&#8221;<br />
f.	Delete preceding semi-colon and change to &#8220;cgi.force_redirect=0&#8243;</p>
<p>6)	Configure IIS<br />
a.	Click on &#8220;Start&#8221;<br />
b.	Right-click on &#8220;My Computer&#8221;<br />
c.	Select &#8220;Manage&#8221;<br />
d.	Maximize &#8220;Services and Applications&#8221;<br />
e.	Right-click on &#8220;Web Sites&#8221; and select &#8220;Properties&#8221;<br />
f.	Under the &#8220;ISAPI Filters&#8221; tab click on &#8220;Add&#8221;, set filter name to &#8220;PHP&#8221;, set Executable to &#8220;C:\PHP\php5isapi.dll&#8221;<br />
g.	Under the &#8220;Home Directory&#8221; tab set &#8220;Execute Permissions&#8221; to &#8220;Scripts Only&#8221;<br />
h.	Under the &#8220;Documents&#8221; tab click &#8220;Add&#8221; and enter &#8220;index.php&#8221; and Click &#8220;ok&#8221;<br />
i.	Click on &#8220;OK&#8221; for the &#8220;Web Sites Properties&#8221; window.<br />
j.	Restart IIS<br />
i.	Right-click on &#8220;Internet Information Services&#8221; in the &#8220;Computer Management&#8221; window<br />
ii.	Select &#8220;ALL Tasks&#8221; then &#8220;Restart IIS&#8221;, then select &#8220;OK&#8221;</p>
<p>7)	Test PHP<br />
a.	Open a text editor (such as Notepad)<br />
b.	Enter in this:<br />
c.	Make sure to save as &#8220;phpinfo.php&#8221; in the directory &#8220;C:\inetpub\wwwroot&#8221;;<br />
d.	in Notepad, when saving, select the file type as &#8220;All Files&#8221;. If the file is saved as .txt it will not work.<br />
e.	Open up your favorite browser and use this link:<br />
i.	http://localhost/phpinfo.php<br />
f.	Your browser should now display a complete listing of PHP attributes.</p>
<p>Done!</p>
<p>Next time, configuring MySQL to work with PHP.</p>
<p>Please don’t hesitate to link to this article!</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.metawd.com/blog/?feed=rss2&amp;p=3</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>
