<?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>webmaster.mitchallen.com &#187; XAMPP</title>
	<atom:link href="http://mitchallen.com/webmaster/archives/tag/xampp/feed" rel="self" type="application/rss+xml" />
	<link>http://mitchallen.com/webmaster</link>
	<description>Tips on Web site setup and programming</description>
	<lastBuildDate>Tue, 30 Jun 2009 18:57:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Axis 2</title>
		<link>http://mitchallen.com/webmaster/archives/36</link>
		<comments>http://mitchallen.com/webmaster/archives/36#comments</comments>
		<pubDate>Fri, 22 May 2009 16:55:31 +0000</pubDate>
		<dc:creator>mitchallen</dc:creator>
				<category><![CDATA[Web server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Axis2]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://mitchallen.com/webmaster/?p=36</guid>
		<description><![CDATA[These instructions are for installing Axis 2 on top of a Tomcat server installed via XAMPP.

Install Tomcat on top of XAMPP
Download the latest copy of Axis2 from here:  http://ws.apache.org/axis2/download.cgi
Unzip the WAR file
Copy axis2.war to xampp\tomcat\webapps
If Tomcat is running, it should unpack and install the WAR file automatically (you should see a new axis2 folder being [...]]]></description>
			<content:encoded><![CDATA[<p>These instructions are for installing <a href="http://ws.apache.org/axis2/">Axis 2</a> on top of a Tomcat server installed via XAMPP.</p>
<ol>
<li><a href="http://mitchallen.com/webmaster/archives/26">Install Tomcat</a> on top of XAMPP</li>
<li>Download the latest copy of Axis2 from here:  <a href="http://ws.apache.org/axis2/download.cgi">http://ws.apache.org/axis2/download.cgi</a></li>
<li>Unzip the WAR file</li>
<li>Copy <strong>axis2.war</strong> to <strong>xampp\tomcat\webapps</strong></li>
<li>If Tomcat is running, it should unpack and install the WAR file automatically (you should see a new axis2 folder being created).</li>
<li>If for some reason it doesn&#8217;t unpack the WAR file, restart Tomcat</li>
<li>Assuming that you installed Tomcat on port 8080, go to: <a href="http://localhost:8080/axis2/">http://localhost:8080/axis2/</a></li>
<li>You should see the local Axis 2 Home page.</li>
</ol>
<p><strong>Links</strong></p>
<ul>
<li><a href="http://ws.apache.org/axis2/">Apache Axis2</a></li>
<li><a href="http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html">Eclipse Tutorial</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mitchallen.com/webmaster/archives/36/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Apache Tomcat on Windows</title>
		<link>http://mitchallen.com/webmaster/archives/26</link>
		<comments>http://mitchallen.com/webmaster/archives/26#comments</comments>
		<pubDate>Mon, 18 May 2009 21:16:59 +0000</pubDate>
		<dc:creator>mitchallen</dc:creator>
				<category><![CDATA[Web server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://mitchallen.com/webmaster/?p=26</guid>
		<description><![CDATA[These instructions are for installing Apache Tomcat as an Add-on to XAMPP under Windows.  It is strongly suggested that you upgrade or install the latest version of XAMPP.  Otherwise the installation isn&#8217;t as easy.

Install XAMPP &#8211; make sure you have the latest &#8212; upgrade if necessary
Download the latest JDK from Sun and run the installer
Download [...]]]></description>
			<content:encoded><![CDATA[<p>These instructions are for installing Apache Tomcat as an Add-on to XAMPP under Windows.  It is strongly suggested that you upgrade or install the latest version of XAMPP.  Otherwise the installation isn&#8217;t as easy.</p>
<ol>
<li><a href="http://mitchallen.com/webmaster/archives/4">Install XAMPP</a> &#8211; make sure you have the latest &#8212; upgrade if necessary</li>
<li>Download the latest <a href="http://java.sun.com/javase/downloads/index.jsp">JDK</a> from Sun and run the installer</li>
<li>Download the latest version of the Tomcat Add-on from <a href="http://www.apachefriends.org">Apache Friends</a> and run the installer</li>
<li>To test things out run <strong>xampp\tomcat_start.bat</strong></li>
<li>Browse to <a class="external free" title="http://localhost:8080" rel="nofollow" href="http://localhost:8080/">http://localhost:8080</a> <strong> </strong>- assuming you installed at the default of port 8080</li>
<li>If you don&#8217;t see the local Apache Tomcat home page, you may have a port conflict.
<ul>
<li>Try changing the port by modifying <em>install_dir</em>/<strong>conf/server.xml</strong></li>
<li>For example: if port 8080 isn&#8217;t working, try changing the port to 8081, save server.xml, restart the service and try browsing to <a class="external free" title="http://localhost:8081" rel="nofollow" href="http://localhost:8081/">http://localhost:8081</a>.</li>
</ul>
</li>
</ol>
<p><strong>Install as a Service</strong></p>
<ol>
<li>Open up a command prompt</li>
<li><strong>cd  \xampp\tomcat\bin</strong></li>
<li>At the command prompt type: <strong>service install</strong></li>
<li>It will tell you that it created a service called &#8220;<em>Tomcat6</em>.&#8221; That&#8217;s true. But if you look in the Service applet, the <em>display name</em> is actually &#8220;Apache Tomcat.&#8221;</li>
<li>By default the service is set to <strong>Manual</strong> and not running.</li>
<li>If you want to run this as a service, without having to manually start it every time you reboot:
<ul>
<li>Go to <strong>Start &gt; Control Panel &gt; Administrative Tools &gt; Services</strong></li>
<li>Switch the <strong>Apache Tomcat</strong> service to <strong>Automatic</strong> and <strong>Start</strong> it.</li>
</ul>
</li>
<li>Reboot your PC and make sure that you can still browse to <a class="external free" title="http://localhost:8080" rel="nofollow" href="http://localhost:8080/">http://localhost:8080</a> &#8212; adjusting for whatever port you used.<!-- end content --></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://mitchallen.com/webmaster/archives/26/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install XAMPP</title>
		<link>http://mitchallen.com/webmaster/archives/4</link>
		<comments>http://mitchallen.com/webmaster/archives/4#comments</comments>
		<pubDate>Sat, 02 May 2009 23:45:31 +0000</pubDate>
		<dc:creator>mitchallen</dc:creator>
				<category><![CDATA[Web server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://mitchallen.com/webmaster/?p=4</guid>
		<description><![CDATA[What is XAMPP?
From the http://www.apachefriends.org Web site:
&#8220;Many people know from their own experience that it&#8217;s not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl. 
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to [...]]]></description>
			<content:encoded><![CDATA[<h2>What is XAMPP?</h2>
<p>From the <a title="http://www.apachefriends.org" rel="nofollow" href="http://www.apachefriends.org/">http://www.apachefriends.org</a> Web site:</p>
<p><em>&#8220;Many people know from their own experience that it&#8217;s not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl. </em></p>
<p>XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use &#8211; just download, extract and start.&#8221;</p>
<h2>Install XAMPP</h2>
<h3>Linux Users</h3>
<ul>
<li>These instructions focus on installing for Windows.</li>
<li>Linux users may want to check out IBM&#8217;s page on the subject. Their installation page even includes an example of accessing a database using the PHP Pear library which is included with the XAMPP install:</li>
<li><a class="external free" title="http://www-128.ibm.com/developerworks/linux/library/l-xampp/" rel="nofollow" href="http://www-128.ibm.com/developerworks/linux/library/l-xampp/">http://www-128.ibm.com/developerworks/linux/library/l-xampp/</a></li>
</ul>
<h3>Windows Users</h3>
<ul>
<li>The XAMPP install tries to install to port 80. If MS-IIS is running on the server, set it&#8217;s port to 81 before running the XAMPP installer.</li>
<li>Go to <a title="http://www.apachefriends.org" rel="nofollow" href="http://www.apachefriends.org/">http://www.apachefriends.org</a> download and run the Windows installer.</li>
<li>When installing, just leave the defaults. I recommend <strong>NOT</strong> checking the option to run the applications as services during install. That&#8217;s because when I did check those options, I got an error that Apache and Filezilla couldn&#8217;t install because the ports were busy. I think it was just tripping over itself. I had to reboot and run the XAMPP console to try again &#8211; then it worked.</li>
<li>Launch the XAMPP console (there should be an icon on your desktop).</li>
<li>For Apache, MySQL and FileZilla, check the &#8220;<strong>Svc</strong>&#8221; option on the right. FileZilla will start automatically. Click the <strong>Start</strong> button for the other two services.</li>
<li>Make sure there are no errors in the console.</li>
<li>Click on the <strong>Settings&#8230;</strong> button and check <strong>Enable the XAMPP Service</strong>, check the <strong>Apache</strong>, <strong>MySQL</strong> and <strong>FileZilla</strong> modules and clik OK</li>
<li>Visit <a title="http://localhost" rel="nofollow" href="http://localhost/">http://localhost</a> to configure your server.
<ul>
<li>Follow the recommendation to check the <strong>Status</strong> and verify that everything is working.</li>
<li>Make sure you visit <a title="http://localhost/security/index.php" rel="nofollow" href="http://localhost/security/index.php">http://localhost/security/index.php</a> and secure your server. There should be a link and / or suggestion on the page for resolving each unsecure issue.</li>
<li>Once a XAMPP username and password is in place you&#8217;ll need that to visit the root of <a title="http://localhost" rel="nofollow" href="http://localhost/">http://localhost</a>. When you get prompted with the browser password dialog, enter the username and the password that you assigned to the XAMPP directory. You can make your life easier by checking the part about remembering your password (if that&#8217;s an option).</li>
<li>To secure FileZilla, launch the Admin from the XAMPP console. Then under <strong>Edit / Users</strong> change the password for <strong>newuser</strong>. Then revisit <a title="http://localhost/security/" rel="nofollow" href="http://localhost/security/">http://localhost/security/</a> and make sure that FileZilla is now secure.</li>
<li>If this is a development machine, the XAMPP page suggests that you just leave PHP unsecure.</li>
</ul>
</li>
</ul>
<h2>If Apache Won&#8217;t Start &#8230;</h2>
<p>On one machine with a fresh install of XP I ran into a problem where Apache wouldn&#8217;t start. I was getting this error:</p>
<pre>The Apache service named  reported the following error:
&gt;&gt;&gt; (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted.
: make_sock: could not bind to address 0.0.0.0:443</pre>
<ul>
<li>Edit file: <strong>xampp\apache\conf\extra\httpd-ssl.conf</strong></li>
<li>Change the <strong>Listen</strong> port to <strong>444</strong></li>
<li>Restart the service</li>
<li>If for some reason port 444 is also not available, keep upping the port number until you find a free port.</li>
</ul>
<p>In case you didn&#8217;t know, by default the first non-secure Web server on a machine usually listens on port 80. The first secure server usually listens on port 443. Web masters are free to change the port as they see fit. In fact you will have to if there is a conflict as in the case above. But visitors browsing the site will need to integrate the port into their URLs. For example, if you install Apache on port 80, and Microsoft IIS (MS-IIS) on port 81, users will need to include port 81 in their URL&#8217;s to visit the MS-IIS server like this: <a class="external text" title="http://www.yourdomain.com:81/" rel="nofollow" href="http://www.yourdomain.com:81/">http://www.yourdomain.com:<strong>81</strong>/</a>. If you don&#8217;t include the port for a non-secure URL, the browser will assume it needs to access the server on port 80. For a secure connection (http<strong>s</strong>) the browser will assume port 443 by default.</p>
<p><strong>If that doesn&#8217;t work &#8230;</strong></p>
<p>Try running <strong>xampp\apache_start.bat</strong> and see what you get for an error message.</p>
<p>In one case of upgrading XAMPP, I got this error message:</p>
<p><em>httpd.exe: Syntax error on line 478 of C:/xampp/apache/conf/httpd.conf: Syntax error on line 7 of C:/xampp/apache/conf/extra/httpd-xampp.conf: API module structure &#8216;php5_module&#8217; in file C:/xampp/apache/bin/php5apache2.dll is garbled &#8211; expected signature 41503232 but saw 41503230 &#8211; perhaps this is not an Apache module DSO, or was compiled for a different Apache version?</em></p>
<p>I fixed it by updating the reference in <strong>xampp\apache\conf\extra\</strong><strong>httpd-xampp.conf</strong> to point to the 2.2 file:</p>
<p>    LoadModule php5_module &#8220;C:/xampp/apache/bin/php5apache2<strong>_2</strong>.dll&#8221;</p>
<h2>configure http-xampp.conf</h2>
<p>To create virtual directories for Apache</p>
<ul>
<li>Edit file: <strong>xampp\apache\conf\extra\httpd-xampp.conf</strong></li>
<li>Add aliases like this just above the aliases for other directories, such as /security and /phpmyadmin:</li>
</ul>
<pre>   Alias /webapps "C:/devmca/webapps/"
   &lt;Directory "C:/devmca/webapps"&gt;
       AllowOverride AuthConfig
       Order allow,deny
       Allow from all
   &lt;/Directory&gt;

   Alias /phpbb2 "C:/phpBB2/"
       &lt;Directory "C:/phpBB2"&gt;
           AllowOverride AuthConfig
           Order allow,deny
           Allow from all
   &lt;/Directory&gt;</pre>
<ul>
<li>The examples above will creating mappings for <a title="http://localhost/webapps/" rel="nofollow" href="http://localhost/webapps/">http://localhost/webapps/</a> and <a title="http://localhost/phpbb2/" rel="nofollow" href="http://localhost/phpbb2/">http://localhost/phpbb2/</a></li>
</ul>
<h2>configure php.ini</h2>
<ul>
<li>Edit file: <strong>xampp\apache\bin\php.ini</strong></li>
<li>Update SMTP Settings (adjust for you settings, if known):</li>
</ul>
<pre>[Date]
; Defines the default timezone used by the date functions
date.timezone = <em>America/New_York</em></pre>
<pre>[mail function]
; For Win32 only.
SMTP = <em>smtp.yourdomain.com</em>
smtp_port = <em>25</em></pre>
<pre>; For Win32 only.
sendmail_from = <em>mallen</em></pre>
<ul>
<li>Restart Apache</li>
</ul>
<h2>Windows Firewall Issues</h2>
<p>If you install under Windows XP and have the <strong>Windows Firewall</strong> running, you will probably need to open up the ports for your Web and FTP server. It may work fine if you run a test from the server where you installed XAMPP. But if other machines can&#8217;t browse to your Web server and FTP times out it&#8217;s probably a firewall issue.</p>
<ul>
<li><strong>Start</strong> &gt; <strong>Control Panel</strong></li>
<li>Double-click on <strong>Windows Firewall</strong></li>
<li>If you are having a problem, the firewall will most likely be in the <strong>On</strong> position &#8211; leave it as is.</li>
<li>Click on the <strong>Exceptions</strong> tab</li>
<li>Use the <strong>Add Port &#8230;</strong> button to open up ports <strong>80</strong> and <strong>21</strong> &#8211; unless of course you set your Web server and FTP server to listen on different ports</li>
</ul>
<h2>See also &#8230;</h2>
<p>You may also find this link helpful: <a href="http://www.keitr.com/tutorials/xampp">http://www.keitr.com/tutorials/xampp</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mitchallen.com/webmaster/archives/4/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
