<?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>Ninetynine.be &#187; Xampp</title>
	<atom:link href="http://ninetynine.be/blog/category/xampp/feed/" rel="self" type="application/rss+xml" />
	<link>http://ninetynine.be/blog</link>
	<description>Just another blog with no useful content on it at all.</description>
	<lastBuildDate>Sun, 08 Jan 2012 10:39:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>MamppControl : Xampp/Mampp Tray Launcher</title>
		<link>http://ninetynine.be/blog/2009/05/mamppcontrol-xampp-tray-launcher/</link>
		<comments>http://ninetynine.be/blog/2009/05/mamppcontrol-xampp-tray-launcher/#comments</comments>
		<pubDate>Sun, 24 May 2009 14:21:42 +0000</pubDate>
		<dc:creator>michiel</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Xampp]]></category>

		<guid isPermaLink="false">http://ninetynine.be/blog/?p=207</guid>
		<description><![CDATA[Hey, Yesterday I had some spare time, so I decided to take a look at the Cocoa collection of frameworks, APIs, and accompanying runtimes that make up the development layer of Mac OS X. I&#8217;ve created this first application with XCode in Objective-C and named it MamppControl. It allows you to start, stop, reload Mampp [...]]]></description>
			<content:encoded><![CDATA[<p><br/><div id="attachment_218" class="wp-caption aligncenter" style="width: 560px"><img src="http://ninetynine.be/blog/wp-content/uploads/2009/05/mamppcontrol.jpg" alt="MamppControl" title="MamppControl" width="550" height="165" class="size-full wp-image-218" /><p class="wp-caption-text">MamppControl</p></div><br/></p>
<p>Hey,</p>
<p>Yesterday I had some spare time, so I decided to take a look at the <a href="http://developer.apple.com/cocoa/">Cocoa</a> collection of frameworks, APIs, and accompanying runtimes that make up the development layer of Mac OS X.<br />
I&#8217;ve created this first application with XCode in <a href="http://nl.wikipedia.org/wiki/Objective_C">Objective-C</a> and named it MamppControl. </p>
<p>It allows you to start, stop, reload Mampp from the tray, with a handy tray icon &amp; menu.<br />
Mampp is the other name for Xampp on Mac. </p>
<blockquote><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.</p></blockquote>
<p>More information about Xampp <a href="http://www.apachefriends.org/en/xampp.html">here</a>.</p>
<p>I know that there is a launcher includes in the xampp package, but it has no tray icon and stay&#8217;s visible in the dock.</p>
<p><br/><span id="more-207"></span></p>
<p><div id="attachment_227" class="wp-caption aligncenter" style="width: 560px"><img src="http://ninetynine.be/blog/wp-content/uploads/2009/05/xampp-control-panel.jpg" alt="Default Xampp Control Panel" title="Xampp Control Panel" width="550" height="500" class="size-full wp-image-227" /><p class="wp-caption-text">Default Xampp Control Panel</p></div><br />
<br/><br />
<strong>Notes</strong><br />
<br/></p>
<p>At the moment Mampp supports only the basic commands (start, stop, reload). If there is need for the other start/stop settings, contact me through the contact page on this blog or shout it here in the comments. </p>
<p>Mampp needs root access to start the xampp, that&#8217;s why you get the security login at start.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>xampp<span style="color: #000000; font-weight: bold;">/</span>xamppfiles<span style="color: #000000; font-weight: bold;">/</span>mampp start</pre></td></tr></table></div>

<p>You only have to do this once for the lifetime of the process. And when you change the path setting.</p>
<p>Also keep in mind that there could be some delay when starting or stopping Xampp, since ProFTPD usually takes a few seconds to launch (at least on my laptop it does <img src='http://ninetynine.be/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</p>
<p>MamppControl checks if Xampp is already running on startup, and behaves appropriately with that knowledge &#8230; </p>
<p><br/><br />
<strong>Screenshots</strong></p>
<p><a rel="lightbox[MamppControl]" href="http://ninetynine.be/blog/wp-content/uploads/2009/05/mamppcontrol-quicksilver.jpg" title="MamppControl Quicksilver Thumb"><div id="attachment_213" class="wp-caption alignleft" style="width: 110px">&nbsp;<img src="http://ninetynine.be/blog/wp-content/uploads/2009/05/mamppcontrol-quicksilver-thumb.jpg" alt="MamppControl Quicksilver" title="MamppControl Quicksilver Thumb" width="100" height="100" class="size-full wp-image-213" /><p class="wp-caption-text">&nbsp;Quicksilver</p></div></a><a href="http://ninetynine.be/blog/wp-content/uploads/2009/05/mamppcontrol-security.jpg" rel="lightbox[MamppControl]" title="MamppControl Security Thumb"><div id="attachment_215" class="wp-caption alignleft" style="width: 110px">&nbsp;<img src="http://ninetynine.be/blog/wp-content/uploads/2009/05/mamppcontrol-security-thumb.jpg" alt="MamppControl Security" title="MamppControl Security Thumb" width="100" height="100" class="size-full wp-image-215" /><p class="wp-caption-text">&nbsp;Security&nbsp;login</p></div></a><a rel="lightbox[MamppControl]" href="http://ninetynine.be/blog/wp-content/uploads/2009/05/mamppcontrol-icon.jpg" title="MamppControl Icon Thumb"><div id="attachment_209" class="wp-caption alignleft" style="width: 110px">&nbsp;<img src="http://ninetynine.be/blog/wp-content/uploads/2009/05/mamppcontrol-icon-thumb.jpg" alt="MamppControl Icon" title="MamppControl Icon Thumb" width="100" height="100" class="size-full wp-image-209" /><p class="wp-caption-text">&nbsp;Tray&nbsp;Icon</p></div></a><a href="http://ninetynine.be/blog/wp-content/uploads/2009/05/mamppcontrol-menu.jpg" rel="lightbox[MamppControl]" title="MamppControl Menu Thumb" ><div id="attachment_211" class="wp-caption alignleft" style="width: 110px">&nbsp;<img src="http://ninetynine.be/blog/wp-content/uploads/2009/05/mamppcontrol-menu-thumb.jpg" alt="MamppControl Menu" title="MamppControl Menu Thumb" width="100" height="100" class="size-medium wp-image-211" /><p class="wp-caption-text">&nbsp;Tray&nbsp;Menu</p></div></a></p>
<p><br style="clear:left;"/><br />
<strong>Download</strong></p>
<p>MamppControl is licensed under the MIT license.</p>
<blockquote><p>Copyright (c) 2009 Ninetynine.be</p>
<p>Permission is hereby granted, free of charge, to any person<br />
obtaining a copy of this software and associated documentation<br />
files (the &#8220;Software&#8221;), to deal in the Software without<br />
restriction, including without limitation the rights to use,<br />
copy, modify, merge, publish, distribute, sublicense, and/or sell<br />
copies of the Software, and to permit persons to whom the<br />
Software is furnished to do so, subject to the following<br />
conditions:</p>
<p>The above copyright notice and this permission notice shall be<br />
included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED &#8220;AS IS&#8221;, WITHOUT WARRANTY OF ANY KIND,<br />
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES<br />
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND<br />
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT<br />
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,<br />
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING<br />
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR<br />
OTHER DEALINGS IN THE SOFTWARE.
</p></blockquote>
<p><br/><br />
<b>Download : </b><a href="http://ninetynine.be/blog/wp-content/plugins/download-monitor/download.php?id=1" title="Download MamppControl">MamppControl</a> - 116.76 kB<br />
<br/><br />
Current version: 2.0<br />
Requirements:<br/><br />
&nbsp;&nbsp;&nbsp;&#8226; Mac OS X 10.5 or higher.<br />
&nbsp;&nbsp;&nbsp;&#8226; Xampp installation @( /Applications/xampp/xamppfiles/mampp )</p>
<p><br/><br />
<b>Version History</b> </p>
<p><em>v1.0</em></p>
<ul>
<li>First public release</li>
</ul>
<p><em>v2.0</em></p>
<ul>
<li>Added support for latest Xampp for Mac OSX (1.0.1)</li>
<li>Added option to choose path to &#8220;xampp&#8221; executable</li>
<li>Added complete events for starting &#038; stopping &#038; reloading</li>
<li>Some minor changes internally</li>
</ul>
<p><br/></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://ninetynine.be/blog/2009/05/mamppcontrol-xampp-tray-launcher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use CodeIgniter on localhost with Ubuntu Jaunty</title>
		<link>http://ninetynine.be/blog/2009/05/use-codeigniter-on-localhost-with-ubuntu-jaunty/</link>
		<comments>http://ninetynine.be/blog/2009/05/use-codeigniter-on-localhost-with-ubuntu-jaunty/#comments</comments>
		<pubDate>Sat, 02 May 2009 11:22:55 +0000</pubDate>
		<dc:creator>ruben</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xampp]]></category>
		<category><![CDATA[CodeIgniter]]></category>

		<guid isPermaLink="false">http://ninetynine.be/blog/?p=195</guid>
		<description><![CDATA[Hi, As a PHP developer it comes in handy to run your websites without having to upload them to your server. You can run them on your own computer if you want to, there isn&#8217;t much to it. I also like using the CodeIgniter framework for my projects, this is a really speeds up the [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>As a PHP developer it comes in handy to run your websites without having to upload them to your server. You can run them on your own computer if you want to, there isn&#8217;t much to it. I also like using the <a href="http://www.codeigniter.com">CodeIgniter framework</a> for my projects, this is a really speeds up the whole process!</p>
<p>I will take you through the basic steps to set up your localhost to get CodeIgniter running.<br />
<strong><br />
1) Use Synaptic package manager to install &#8220;apache2&#8243;, &#8220;php5&#8243; and &#8220;mysql-server&#8221;.</strong></p>
<p>During the installation you will be asked to enter the password for the root user for your mysql-server.</p>
<p><strong>2) Create a symbolic link, so that when you go to localhost in your browser, you get the website you want.</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-r</span> www<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>website www</pre></div></div>

<p>Always look before you delete something with &#8220;rm -r&#8221;, normally there should only be a index.html file in your www/ folder.</p>
<p>I prefer creating a link to my website that I put somewhere in my home directory, as this is being back-upped frequently, and is on another partition.<br />
<br/><span id="more-195"></span><br />
<strong><br />
3) Install the package &#8220;phpmyadmin&#8221; through synaptic.</strong></p>
<p>It is important that you wait to install phpmyadmin until you have installed the other packages and created the symbolic link. Otherwise it can be a mess to get things running.</p>
<p><strong>4) To allow mod-rewrite, to get the clean CodeIgniter URL&#8217;s, you need to do the following.</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> a2enmod rewrite
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>sites-available<span style="color: #000000; font-weight: bold;">/</span>default</pre></div></div>

<p>You will see something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">        DocumentRoot <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www
        <span style="color: #000000; font-weight: bold;">&lt;</span>Directory <span style="color: #000000; font-weight: bold;">/&gt;</span>
                Options FollowSymLinks
                AllowOverride None
        <span style="color: #000000; font-weight: bold;">&lt;/</span>Directory<span style="color: #000000; font-weight: bold;">&gt;</span>
        <span style="color: #000000; font-weight: bold;">&lt;</span>Directory <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/&gt;</span>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        <span style="color: #000000; font-weight: bold;">&lt;/</span>Directory<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Change the AllowOverride&#8217;s to All.</p>
<p><strong>5) Restart Apache</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre></div></div>

<p>This wasn&#8217;t so hard, and it really makes life easier!</p>
<p>Note: You can&#8217;t use the function mail() or CodeIgniter&#8217;s mail-class without further configuration. I won&#8217;t go into details about this.</p>
<p>Also note that there are many ways to tackle this, this is only one easy suggestion. If you need to switch a lot between different websites, then changing the symbolic link each time is too much work. You can check out <a href="http://www.debian-administration.org/articles/412">this article here</a>.</p>
<p>Happy coding!</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://ninetynine.be/blog/2009/05/use-codeigniter-on-localhost-with-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

