<?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>rtraction - London, Ontario - Web Design, Web Development and Strategic Consulting &#187; php</title>
	<atom:link href="http://www.rtraction.com/blog/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.rtraction.com/blog</link>
	<description>rtraction blog - Web Design, Web Development and Strategic Consulting</description>
	<lastBuildDate>Fri, 25 Nov 2011 15:08:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Add Sharing to Your Webapps</title>
		<link>http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps.html</link>
		<comments>http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps.html#comments</comments>
		<pubDate>Fri, 11 Dec 2009 22:34:16 +0000</pubDate>
		<dc:creator>gavinblair</dc:creator>
				<category><![CDATA[Devit!]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.rtraction.com/blog/?p=1167</guid>
		<description><![CDATA[
When you post an article of any type on the web, it seems almost mandatory that you include &#8220;Tweet This!&#8221; and &#8220;Post to Facebook&#8221; links. Of course, you can get plugins that create sharing links automatically for most blog software (Sociable for Wordpress (this is what we use); Service Links for Drupal; Sexy Social Bookmark for Blogger; I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-1168 alignnone" style="border: 1px solid black;" title="Share via Twitter and Facebook" src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/sharing.jpg" alt="Share via Twitter and Facebook" width="679" height="120" /></p>
<p>When you post an article of any type on the web, it seems almost mandatory that you include &#8220;Tweet This!&#8221; and &#8220;Post to Facebook&#8221; links. Of course, you can get plugins that create sharing links automatically for most blog software (<a href="http://wordpress.org/extend/plugins/sociable/" target="_blank">Sociable for Wordpress</a> (this is what we use); <a href="http://drupal.org/project/service_links">Service Links for Drupal</a>; <a href="http://www.cahayabiru.com/2009/04/add-sexy-social-bookmark-to-your.html" target="_blank">Sexy Social Bookmark for Blogger</a>; I could go on), and they usually cover more networks than Twitter and Facebook. However, some circumstances require a more do-it-yourself approach.</p>
<p>Adding &#8220;Share on Twitter&#8221; and &#8220;Post to Facebook&#8221; functionality to your web application is a snap! In this post you will learn:</p>
<ul>
<li>-How to prefill a tweet for your user</li>
<li>-How to let your users share a link on Facebook, including page thumbnails and description</li>
<li>-How to harness the power of bit.ly&#8217;s API for short URLs and click tracking</li>
</ul>
<p><span> </span></p>
<h2>Share on Twitter</h2>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1173" style="border: 1px solid black;" title="twitter.com/home?status=&lt;Your Tweet&gt;" src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/twitterurl.jpg" alt="twitter.com/home?status=&lt;Your Tweet&gt;" width="679" height="120" /></p>
<p>Use the following code to create a &#8220;Share on Twitter&#8221; link:</p>
<div style="border: 1px solid #aaa; padding: 10px; width: 660px; overflow-x: scroll;">
<pre><span style="color: blue">&lt;</span><span style="color: maroon">a</span> <span style="color: red">href</span><span style="color: blue">="<strong>http://twitter.com/home?status=</strong>Add Sharing to Your Webapps - http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps"</span> <span style="color: red">target</span><span style="color: blue">="_blank"&gt;</span>Share on Twitter<span style="color: blue">&lt;/</span><span style="color: maroon">a</span><span style="color: blue">&gt;</span></pre>
</div>
<p><a href="http://twitter.com/home?status=Add Sharing to Your Webapps - http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps" target="_blank">Share on Twitter</a></p>
<p>That was easy! Try replacing your link text with a Twitter button:</p>
<div style="border: 1px solid #aaa; padding: 10px; width: 660px; overflow-x: scroll;">
<pre><span style="color: blue">&lt;</span><span style="color: maroon">a</span> <span style="color: red">href</span><span style="color: blue">="http://twitter.com/home?status=Add Sharing to Your Webapps -http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps"</span> <span style="color: red">target</span><span style="color: blue">="_blank"&gt;</span><strong><span style="color: blue">&lt;</span><span style="color: maroon">img</span> <span style="color: red">src</span><span style="color: blue">="shareontwitter.png"</span> <span style="color: red">alt</span><span style="color: blue">="Share on Twitter" /&gt;</span></strong><span style="color: blue">&lt;/</span><span style="color: maroon">a</span><span style="color: blue">&gt;</span></pre>
</div>
<p><a href="http://twitter.com/home?status=Add Sharing to Your Webapps -http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps" target="_blank"><img src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/shareontwitter.png" alt="Share on Twitter" /></a></p>
<p>Twitter can&#8217;t make it much easier than that! When the user clicks on your button, they are brought to their familiar Twitter timeline, with the next tweet prefilled for them.</p>
<p style="text-align: center;"><a href="http://www.rtraction.com/blog/wp-content/uploads/2009/12/twitter1.jpg" rel="lightbox[1167]"><img class="aligncenter size-full wp-image-1240" style="border: 1px solid black;" title="Prefilled Tweet" src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/twitter1.jpg" alt="Prefilled Tweet" width="679" height="120" /></a></p>
<p><span> </span></p>
<h2>Facebook Share Link</h2>
<p style="text-align: center;"><a href="http://www.rtraction.com/blog/wp-content/uploads/2009/12/facebookurl.jpg" rel="lightbox[1167]"><img class="aligncenter size-full wp-image-1190" style="border: 1px solid black;" title="facebook.com/sharer.php?u=&lt;Your URL&gt;" src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/facebookurl.jpg" alt="facebook.com/sharer.php?u=&lt;Your URL&gt;" width="679" height="120" /></a></p>
<p>Use the following code to create a &#8220;Post to Facebook&#8221; link:</p>
<div style="border: 1px solid #aaa; padding: 10px; width: 660px; overflow-x: scroll;">
<pre><span style="color: blue">&lt;</span><span style="color: maroon">a</span> <span style="color: red">href</span><span style="color: blue">="http://facebook.com/sharer.php<strong>?u=http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps</strong>"</span> <span style="color: red">target</span><span style="color: blue">="_blank"&gt;Post to Facebook&lt;/</span><span style="color: maroon">a</span><span style="color: blue">&gt;</span></pre>
</div>
<p><a href="http://facebook.com/sharer.php?u=http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps" target="_blank">Post to Facebook</a></p>
<p>Too easy! Now replace the text with a nifty Facebook button:</p>
<div style="border: 1px solid #aaa; padding: 10px; width: 660px; overflow-x: scroll;">
<pre><span style="color: blue">&lt;</span><span style="color: maroon">a</span> <span style="color: red">href</span><span style="color: blue">="http://facebook.com/sharer.php?u=http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps"</span> <span style="color: red">target</span><span style="color: blue">="_blank"&gt;</span><strong><span style="color: blue">&lt;</span><span style="color: maroon">img</span> <span style="color: red">src</span><span style="color: blue">="posttofacebook.png"</span> <span style="color: red">alt</span><span style="color: blue">="Post to Facebook" /&gt;</span></strong><span style="color: blue">&lt;/</span><span style="color: maroon">a</span><span style="color: blue">&gt;</span></pre>
</div>
<p><a href="http://facebook.com/sharer.php?u=http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps" target="_blank"><img class="alignleft" src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/shareonfacebook.png" alt="Post to Facebook" width="60" height="18" /></a></p>
<p>When the user clicks on your &#8220;Post to Facebook&#8221; button, a new window pops up, prompting them to share the link. The user can optionally update their Facebook status while they are at it.</p>
<p><img class="aligncenter size-full wp-image-1234" style="border: 1px solid black;" title="Post to Profile - No Thumbnail or Description" src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/facebook11.jpg" alt="Post to Profile - No Thumbnail or Description" width="679" height="120" /></p>
<h3>What about Page Thumbnails?</h3>
<p>That looks pretty good, but it could use a little more flair. Facebook attempts to add a thumbnail and a description to your link. Facebook scours your page for <strong>&lt;img&gt;</strong> tags, and uses those for thumbnail options, in the order that they appear on the page. If you want a screenshot of part of your webapp to be the first choice, you&#8217;ll have to put the following code near the top (before any other &lt;img&gt; tags) of your page:</p>
<div style="border: 1px solid #aaa; padding: 10px; width: 660px; overflow-x: scroll;">
<pre><span style="color: blue">&lt;</span><span style="color: maroon">img</span> <span style="color: red">src</span><span style="color: blue">="screenshot.jpg"</span> <span style="color: red">style</span><span style="color: blue">="display: none"</span> <span style="color: red">alt</span><span style="color: blue">="" /&gt;</span></pre>
</div>
<p>This will not be visible to users due to the inline CSS, but Facebook will pick it up.</p>
<p style="text-align: center;"><a href="http://www.rtraction.com/blog/wp-content/uploads/2009/12/facebook2.jpg" rel="lightbox[1167]"><img class="aligncenter size-full wp-image-1277" style="border: 1px solid black;" title="Post to Facebook with Thumbnail" src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/facebook2.jpg" alt="Post to Facebook with Thumbnail" width="679" height="120" /></a></p>
<h3>What about Page Description?</h3>
<p>Facebook uses the page&#8217;s meta description. Make sure the following code is present in the header of your page, between <strong>&lt;head&gt;</strong> and <strong>&lt;/head&gt;</strong>:</p>
<div style="border: 1px solid #aaa; padding: 10px; width: 660px; overflow-x: scroll;">
<pre><span style="color: blue">&lt;</span><span style="color: maroon">meta</span> <span style="color: red">name</span><span style="color: blue">="description"</span> <span style="color: red">content</span><span style="color: blue">="rtraction - Add Sharing to Your Webapps - Twitter and Facebook sharing links are a snap to build!" /&gt;</span></pre>
</div>
<p>Now your Facebook share is complete with a thumbnail and description.</p>
<h3><a href="http://www.rtraction.com/blog/wp-content/uploads/2009/12/facebook3.jpg" rel="lightbox[1167]"><img class="aligncenter size-full wp-image-1280" style="border: 1px solid black;" title="Post to Facebook with Thumbnail and Description" src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/facebook3.jpg" alt="Post to Facebook with Thumbnail and Description" width="679" height="120" /></a></h3>
<p><span> </span></p>
<h2>Shortened URLs with Bit.ly</h2>
<p>Bit.ly&#8217;s API makes it easy to dynamically create shortened URLs. A big advantage of this is that you can make use Bit.ly&#8217;s click tracking.</p>
<p style="text-align: center;"><a href="http://www.rtraction.com/blog/wp-content/uploads/2009/12/bitly1.jpg" rel="lightbox[1167]"><img class="aligncenter size-full wp-image-1285" style="border: 1px solid black;" title="bit.ly click tracking" src="http://www.rtraction.com/blog/wp-content/uploads/2009/12/bitly1.jpg" alt="bit.ly click tracking" width="679" height="120" /></a></p>
<p style="text-align: center;">
<p>You can learn how to <a href="http://code.google.com/p/bitly-api/wiki/ApiDocumentation" target="_blank">use the Bit.ly API on your own</a>, or use an existing library. There is a <a href="http://sites.google.com/site/bitlyapp/" target="_blank">DLL file for .NET projects to use Bit.ly</a>. This is untested by us, but the <a href="http://www.hashbangcode.com/blog/php-class-to-interact-with-bit-ly-api-1315.html" target="_blank">Hashbangcode Bit.ly PHP Class</a> looks like a promising PHP solution. Let us know in the comments if you have tried this library!</p>
<p>If you have any other tips for creating share links, let us know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtraction.com/blog/devit/add-sharing-to-your-webapps.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Kiva / Google Maps Mashup</title>
		<link>http://www.rtraction.com/blog/devit/new-kiva-google-maps-mashup.html</link>
		<comments>http://www.rtraction.com/blog/devit/new-kiva-google-maps-mashup.html#comments</comments>
		<pubDate>Thu, 16 Jul 2009 19:42:38 +0000</pubDate>
		<dc:creator>gavinblair</dc:creator>
				<category><![CDATA[Devit!]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[charity]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[kiva]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.rtraction.com/blog/?p=403</guid>
		<description><![CDATA[Since 2006, our team has been supporting Kiva, a person-to-person micro-lending website that lets visitors help alleviate poverty by lending directly to unique entrepreneurs around the globe. It’s a great use of technology to help people, and it inspired me to create this neat little mashup.
Today we&#8217;re rolling out the first release of our Kiva/Google [...]]]></description>
			<content:encoded><![CDATA[<p>Since 2006, our team has been supporting <strong>Kiva</strong>, a person-to-person micro-lending website that lets visitors help alleviate poverty by lending directly to unique entrepreneurs around the globe. It’s a great use of technology to help people, and it inspired me to create this neat little mashup.</p>
<p>Today we&#8217;re rolling out the first release of our <a title="Kiva" href="http://www.kiva.org/" target="_blank">Kiva</a>/<a title="Google Maps" href="http://maps.google.com/" target="_blank">Google Maps</a> mashup: <a title="NeedVision" href="http://needvision.rtraction.com/" target="_blank">NeedVision</a>!</p>
<p><a href="http://needvision.rtraction.com"><img class="alignnone size-full wp-image-407" title="needvision" src="http://www.rtraction.com/blog/wp-content/uploads/2009/07/needvision.jpg" alt="needvision" width="400" height="265" /></a></p>
<p>Similar to <a title="KivaMap" href="http://kivaworld.com/" target="_blank">KivaWorld</a>, NeedVision shows loans on a world map &#8211; but it&#8217;s much more! NeedVision allows you to search for available loans based on keywords and/or sector.</p>
<p>What&#8217;s more is that we&#8217;ve released the <a title="NeedVision Project on Google Code" href="http://code.google.com/p/needvision/" target="_blank">source code</a>, so you can see how the <a title="Kiva API" href="http://build.kiva.org/" target="_blank">Kiva</a> and <a title="Google Maps API" href="http://code.google.com/apis/maps/" target="_blank">Google Maps API</a>&#8217;s work, and how easy it is to create mashups like this.</p>
<p>Look forward to <a title="Search caching issue no NeedVision" href="http://code.google.com/p/needvision/issues/detail?id=1" target="_blank">search caching</a> and a <a title="Mini version of NeedVision issue" href="http://code.google.com/p/needvision/issues/detail?id=2" target="_blank">mobile version</a> in the near future!</p>
<p>Bugs? Comments? Feature requests? Put them in the comments below.</p>
<hr /> <img class="size-thumbnail wp-image-422 alignleft" style="float: left; margin-right: 5px; margin-bottom: 5px;" title="face" src="http://www.rtraction.com/blog/wp-content/uploads/2009/07/face-150x150.jpg" alt="face" width="75" height="75" /><strong>Gavin Blair</strong>, <em>Developer</em><br /><span style="font-family: Trebuchet MS,Georgia,Verdana,Sans-Serif; font-size: 12px;">As someone who loves to help others, Gavin is not easily ruffled. Poorly designed software is one of his few pet peeves, and we can count on Gavin to find solutions and make improvements in all kinds of applications. In his own words, he likes to &#8220;fight the good fight for quality code.&#8221; He loves food and finding adventure in the kitchen, cooking with his wife. On one occasion, the combination of a white-hot skillet and no ventilation led to so much smoke they had to stop, drop and roll &#8211; but did end up eating &#8220;the best blackened catfish po&#8217;boy you can imagine.&#8221;</span><br /><img style="float: right;" src="http://www.rtraction.com/blog/wp-content/uploads/2009/07/api.jpg" alt="api" title="api" width="40" height="40" class="alignnone size-full wp-image-423" /><br style="clear: both;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtraction.com/blog/devit/new-kiva-google-maps-mashup.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto Setup PHP (Apache, Mysql) on Windows</title>
		<link>http://www.rtraction.com/blog/devit/howto-setup-php-apache-mysql-on-windows.html</link>
		<comments>http://www.rtraction.com/blog/devit/howto-setup-php-apache-mysql-on-windows.html#comments</comments>
		<pubDate>Tue, 26 May 2009 13:31:41 +0000</pubDate>
		<dc:creator>David Millar</dc:creator>
				<category><![CDATA[Devit!]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.rtraction.com/blog/?p=259</guid>
		<description><![CDATA[First Grab the latest copies of the following:
Apache (MSI with OpenSSL): http://httpd.apache.org/download.cgi
PHP Windows Binary (Zip Package): http://www.php.net/downloads.php 
MySql Community Engine (MSI): http://dev.mysql.com/downloads/mysql/5.1.html#win32
MySql Tools (MSI): http://dev.mysql.com/downloads/gui-tools/5.0.html
Once you&#8217;ve downloaded the latest files follow these steps below:
 ol li { margin-bottom: 0; } 

Install Apache

Network Domain: it doesn&#8217;t matter
Server Name: it doesn&#8217;t matter


Unzip PHP into c:\php
Install MySql
Install MySql [...]]]></description>
			<content:encoded><![CDATA[<p>First Grab the latest copies of the following:</p>
<p>Apache (MSI with OpenSSL): <a title="Apache (MSI with OpenSSL)" href="http://httpd.apache.org/download.cgi" target="_blank">http://httpd.apache.org/download.cgi</a><br />
PHP Windows Binary (Zip Package): <a title="PHP Windows Binary (Zip Package)" href="http://www.php.net/downloads.php" target="_blank">http://www.php.net/downloads.php </a><br />
MySql Community Engine (MSI): <a title="MySql Community Engine (MSI)" href="http://dev.mysql.com/downloads/mysql/5.1.html#win32" target="_blank">http://dev.mysql.com/downloads/mysql/5.1.html#win32</a><br />
MySql Tools (MSI): <a title="MySql Tools" href="http://dev.mysql.com/downloads/gui-tools/5.0.html" target="_blank">http://dev.mysql.com/downloads/gui-tools/5.0.html</a></p>
<p>Once you&#8217;ve downloaded the latest files follow these steps below:</p>
<style> ol li { margin-bottom: 0; } </style>
<ol>
<li>Install Apache
<ol>
<li>Network Domain: it doesn&#8217;t matter</li>
<li>Server Name: it doesn&#8217;t matter</li>
</ol>
</li>
<li>Unzip PHP into c:\php</li>
<li>Install MySql</li>
<li>Install MySql Tools</li>
<li>Create a folder c:\websites (or call it what you want)</li>
<li>Go to My Computer -&gt; Right Click Properties -&gt; Advanced -&gt; Environment Variables
<ol>
<li>Select Path -&gt; Click Edit</li>
<li>Add a ;c:\php on the end</li>
</ol>
</li>
<li>Restart your computer!</li>
<li>Browse to the Apache Folder (Should be in Program Files\Apache Software Foundation\Apache
<ol>
<li>Go into conf and open httpd.conf</li>
<li>Change the following and Save
<ol>
<li>ServerRoot (Should be set to your Apache folder &#8211; nothing should be changed here)</li>
<li>Listen (In the event you want your Apache WebServer to not run at localhost:80 &#8211; you can specify a specific ip/port here</li>
<li>In the LoadModule section you might want to enable rewriter_module (not necessary!)</li>
<li>DocumentRoot &quot;C:\websites&quot;</li>
<li>&lt;Directory &quot;C:\websites&quot;&gt; &lt;&#8211; This is about ~15lines below the document root (REQUIRED CHANGE)</li>
<li>Under the DirectoryIndex save yourself some time and add index.php after index.html with a space separating them</ol>
</li>
</ol>
</li>
<li>All Done making configuration changes to Apache</li>
<li>Copy the index.html file in htdocs to c:\websites</li>
<li>Click on the Apache Server Monitor in your TaskBar and restart Apache (if you have any problems check the logs folder in the Apache directory)</li>
</li>
<li>Open your Web Browser and Browse to http://localhost &#8211; You should see &#8216;It Works&#8217;
<ol>
<li>If this failed to work &#8211; check the settings you&#8217;ve changed (typo&#8217;s will break things) also check the error logs in the apache\logs folder (Post any problems you can&#8217;t resolve in the comments)</li>
</ol>
</li>
<li>Now that you have Apache working &#8211; lets get PHP working so you can start coding with php/mysql</li>
<li>Rename php.ini-distribution to php.ini</li>
<li>Open php.ini</li>
<li>Change the following and Save
<ol>
<li>max_execution_time (Suggested for development to increase to 60)</li>
<li>max_input_time (Suggested for development to increase to 120)</li>
<li>memory_limit (Suggested for development to increase to 256M &#8211; great for any type of video conversion)</li>
<li>error_reporting = E_ALL &amp; ~E_NOTICE (Un-comment this and ensure other error_reporting lines are commented</li>
<li>display_errors = On</li>
<li>log_errors = On</li>
<li>session.save_path = &quot;c:\tmp&quot;</li>
<li>post_max_size = 16M (Suggested for development)</li>
<li>doc_root = (You can leave this blank)</li>
<li>extension_dir = &quot;c:\php\ext&quot; (Required)</li>
<li>upload_max_filesize = 16M (Suggested for development)</li>
<li>Un-comment the following extensions:
<ol>
<li>extension=php_curl.dll</li>
<li>extension=php_gd2.dll</li>
<li>extension=php_mbstring.dll</li>
<li>extension=php_mcrypt.dll</li>
<li>extension=php_mssql.dll</li>
<li>extension=php_mysql.dll</li>
<li>extension=php_openssl.dll</li>
</ol>
</li>
<li>If you have access to an SMTP server configure SMTP</li>
</ol>
</li>
<li>Re-open the httpd.conf for apache and add the following lines after the end of the LoadModule section
<ol>
<li>LoadModule php5_module &quot;C:/php/php5apache2_2.dll&quot;</li>
<li>AddType application/x-httpd-php .php</li>
<li>PHPIniDir &quot;C:/php&quot;</li>
</ol>
</li>
<li>Restart Apache</li>
<li>Create a file in c:\websites called test.php</li>
<li>Put &lt;?php phpinfo(); ?&gt; in the file and save</li>
<li>Access http://localhost/test.php</li>
<li>You should see a dump of all the information &#8211; All the extensions you&#8217;ve loaded above should have a section within the information displayed (If you can&#8217;t find mysql on the page for example then the .dll did not load properly &#8211; Verify your Environment Path variable (restart if you change it) and try again)</li>
<li>Don&#8217;t forget to look at your log files if you&#8217;re having problems &#8211; and if php says it can&#8217;t load a module that exists in a specific path then it&#8217;s likely an Environment Path issue.</li>
<li>Happy Coding!</li>
</ol>
<p><code></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rtraction.com/blog/devit/howto-setup-php-apache-mysql-on-windows.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

