<?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>joesiewert.com &#187; XAMPP</title>
	<atom:link href="http://www.joesiewert.com/tag/xampp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joesiewert.com</link>
	<description>technology, business, social media, linux and a few other things</description>
	<lastBuildDate>Mon, 21 Jun 2010 21:15:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How To Setup XAMPP For Web Development</title>
		<link>http://www.joesiewert.com/2010/01/how-to-setup-xampp-for-web-development/</link>
		<comments>http://www.joesiewert.com/2010/01/how-to-setup-xampp-for-web-development/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 20:57:14 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[how-tos]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://www.joesiewert.com/?p=169</guid>
		<description><![CDATA[XAMPP is a software package that makes it quick and easy to install Apache, MySQL, PHP and Perl on any OS.  If you need to get a local web development environment setup quickly this is a great option.  For convenience, many features are turned on by default, so while great for local development, XAMPP is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> is a software package that makes it quick and easy to install Apache, MySQL, PHP and Perl on any OS.  If you need to get a local web development environment setup quickly this is a great option.  For convenience, many features are turned on by default, so while great for local development, XAMPP is not designed to be secure and ready for a production environment out of the box.</p>
<p>The XAMPP installation is straightforward, but I wanted to provide some screenshots to guide a new user through to loading a test page in the browser successfully.  If anything is confusing, leave a comment below.</p>
<p>There are installs available for Linux, Windows, Mac OS X and Solaris.  The steps below are written for the Windows install.</p>
<p>To start, download <a href="http://www.apachefriends.org/en/xampp-windows.html#641">XAMPP for Windows</a>.  I recommend getting the EXE install.  Run the installer and select the installation destination on your PC.  I recommend sticking with the C:\ default for simplicity.</p>
<p style="text-align: center;"><a href="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_installer.jpg"><img class="size-full wp-image-168  aligncenter" title="xampp_installer" src="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_installer.jpg" alt="" width="531" height="400" /></a></p>
<p>After the install is done you can start up Apache and MySQL from the XAMPP Control Panel.  If the control panel doesn’t show up right away you can launch it from the Start Menu.</p>
<p style="text-align: center;"><a href="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_control_panel.jpg"><img class="aligncenter size-full wp-image-165" title="xampp_control_panel" src="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_control_panel.jpg" alt="" width="450" height="386" /></a></p>
<p>If you have the built in Windows firewall running, it will ask you if you want to unblock Apache and MySQL the first time.  Go ahead and click Unblock.</p>
<p style="text-align: center;"><a href="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_firewall.jpg"><img class="aligncenter size-full wp-image-166" title="xampp_firewall" src="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_firewall.jpg" alt="" width="438" height="316" /></a></p>
<p>Next open up your favorite browser and navigate to <a href="http://localhost/">http://localhost/</a>.</p>
<p>If Apache is running correctly you should see a splash screen where you can select your language.  After selecting that it will take you to the XAMPP home page below which gives you status information and details about the installed software packages.  You can also get to <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a> from here for working with your MySQL installation.</p>
<p style="text-align: center;"><a href="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_home_page.jpg"><img class="aligncenter size-full wp-image-171" title="xampp_home_page" src="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_home_page.jpg" alt="" width="950" height="265" /></a></p>
<p>Now that the Apache web server is running, lets test it out with a simple Hello World example in PHP.</p>
<p>Navigate to the htdocs folder in your XAMPP installation (C:\xampp\htdocs by default).  Any web projects you add here will be accessible through the browser.</p>
<p>Create a new folder in C:\xampp\htdocs named hello.</p>
<p>Then create a file in the hello folder called index.php and use your favorite text editor to put this code in it.  I like <a href="http://notepad-plus.sourceforge.net/uk/site.htm">Notepad ++</a>, but Notepad works fine too.</p>
<pre class="brush: php;">
&lt;?php
echo 'Hello world!';
?&gt;
</pre>
<p>Now go back to your browser and navigate to <a href="http://localhost/hello/index.php">http://localhost/hello/index.php</a></p>
<p>If everything worked correctly your page should load with the classic programming greeting.  You now have a basic web development environment to play around in.</p>
<p style="text-align: center;"><a href="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_hello_world.jpg"><img class="aligncenter size-full wp-image-173" title="xampp_hello_world" src="http://www.joesiewert.com/wp-content/uploads/2010/01/xampp_hello_world.jpg" alt="" width="322" height="62" /></a></p>
<p>Got a question?  Leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joesiewert.com/2010/01/how-to-setup-xampp-for-web-development/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
