<?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>Function13.net &#187; phpmyadmin</title>
	<atom:link href="http://www.function13.net/tag/phpmyadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.function13.net</link>
	<description>A blog about technology and code.</description>
	<lastBuildDate>Tue, 23 Feb 2010 07:37:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lighting up LAMP in Ubuntu 8.04 Hardy Heron</title>
		<link>http://www.function13.net/2008/06/02/lighting-up-lamp/</link>
		<comments>http://www.function13.net/2008/06/02/lighting-up-lamp/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 08:06:58 +0000</pubDate>
		<dc:creator>lijamez</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lijamez.wordpress.com/?p=4</guid>
		<description><![CDATA[This guide will help newbies set up a fully working LAMP (Linux, Apache, MySQL, PHP) server using on Ubuntu 8.04 Hardy Heron. Doing do will allow you to use various PHP applications such as the popular phpBB forums and Wordpress blog in addition to the basic HTML pages and files. I write this based on [...]]]></description>
			<content:encoded><![CDATA[<p>This guide will help newbies set up a fully working LAMP (Linux, Apache, MySQL, PHP) server using on <a href="http://www.ubuntu.com/">Ubuntu</a> 8.04 Hardy Heron. Doing do will allow you to use various PHP applications such as the popular phpBB forums and Wordpress blog in addition to the basic HTML pages and files. I write this based on an &#8220;out of the box&#8221; Ubuntu.</p>
<p>Let&#8217;s begin&#8230;</p>
<p><span id="more-4"></span></p>
<h3><strong>Install Packages</strong></h3>
<p>First, install the required packages by typing the following into the terminal:</p>
<blockquote>
<p class="command">sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql phpmyadmin</p>
</blockquote>
<p class="command">This will install <a href="http://www.apache.org/">Apache</a>, <a href="http://www.php.net/">PHP</a>, <a href="http://www.mysql.com/">MySQL</a>, their respective modules, and <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a>. Enter your preferred root password for mySQL when prompted and choose apache2 to be automatically configured.</p>
<p class="command">If you&#8217;d like, you can test whether if Apache is working properly by going to http://localhost/ in your web browser.</p>
<p class="command"><strong>Letting Other Computers on the Same Network Connect (Optional)</strong></p>
<p class="command">Optionally, if you want computers on the same network to connect to the server you may want to edit /etc/mysql/my.cnf by invoking the command:</p>
<blockquote>
<p class="command">sudo gedit /etc/mysql/my.cnf</p>
</blockquote>
<p class="command">Then, replace the following line with <a href="http://www.whatismyip.com">your own IP address</a>.</p>
<blockquote>
<p class="command">bind-address = 127.0.0.1</p>
</blockquote>
<h3 class="command"><strong>Configuring</strong></h3>
<p class="command">To enable PHP and MySQL to work together, edit the php.ini file:</p>
<blockquote>
<p class="command">sudo gedit /etc/php5/apache2/php.ini</p>
</blockquote>
<p class="command">Then un-comment the following line. Save and close the file.</p>
<blockquote>
<p class="command">;extension = mysql.so</p>
</blockquote>
<h3 class="command"><strong>Accessing PHPMyAdmin</strong></h3>
<p class="command">Edit the Apache configuration file:</p>
<blockquote>
<p class="command">sudo gedit /etc/apache2/apache2.conf</p>
</blockquote>
<p class="command">Add the following line to the bottom of the file. Save and close.</p>
<blockquote>
<p class="command">Include /etc/phpmyadmin/apache.conf</p>
</blockquote>
<p class="command">Restart Apache.</p>
<blockquote>
<p class="command">sudo /etc/init.d/apache2 restart</p>
</blockquote>
<h3 class="command"><strong>Testing PHP<br />
</strong></h3>
<p class="command">Create and edit a file called testphp.php in your /var/www/ folder:</p>
<blockquote>
<p class="command">sudo gedit /var/www/testphp.php</p>
</blockquote>
<p class="command">Insert the following text inside that file and save:</p>
<blockquote>
<p class="command">&lt;?php phpinfo(); ?&gt;</p>
</blockquote>
<p class="command">Go back to your web browser and navigate to:</p>
<blockquote>
<p class="command">http://localhost/testphp.php</p>
</blockquote>
<p class="command">The PHP page should display. If a download window appears instead, something went wrong. Try reinstalling php5 and libapache2-mod-php5.</p>
<h3 class="command"><strong>Testing phpMyAdmin</strong></h3>
<p class="command">Navigate your web browser to:</p>
<blockquote>
<p class="command">http://localhost/phpmyadmin/</p>
</blockquote>
<p class="command">If the phpMyAdmin login page displays, then&#8230;</p>
<p class="command"><strong>You are done. That wasn&#8217;t so hard.</strong></p>
<p class="command">Now that you have LAMP running, why not <a href="http://www.function13.net/?p=8">try some applications</a>? To manage your server remotely, it would probably be a good idea to <a href="http://www.function13.net/?p=34">install SSH</a>.</p>
<p class="command">Note: The root directory of your web server is /var/www/</p>
<p class="command">
<p class="command">
<p class="command">
<p class="command">
<p class="command">Source: <a href="http://www.howtoforge.com/ubuntu_lamp_for_newbies">HowtoForge</a>, <a href="http://www.blog.highub.com/linux/install-and-configure-phpmyadmin-on-ubuntu-lamp/">Highub </a></p>
<p class="command">
<p><!-- Begin SexyBookmarks Menu Code --></p>
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-spaced">
<ul class="socials">
<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://www.function13.net/2008/06/02/lighting-up-lamp/&amp;title=Lighting+up+LAMP+in+Ubuntu+8.04+Hardy+Heron" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.function13.net/2008/06/02/lighting-up-lamp/&amp;title=Lighting+up+LAMP+in+Ubuntu+8.04+Hardy+Heron" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://www.function13.net/2008/06/02/lighting-up-lamp/&amp;title=Lighting+up+LAMP+in+Ubuntu+8.04+Hardy+Heron" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.function13.net/2008/06/02/lighting-up-lamp/&amp;title=Lighting+up+LAMP+in+Ubuntu+8.04+Hardy+Heron" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.function13.net/2008/06/02/lighting-up-lamp/&amp;t=Lighting+up+LAMP+in+Ubuntu+8.04+Hardy+Heron" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
<li class="sexy-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.function13.net/2008/06/02/lighting-up-lamp/&amp;title=Lighting+up+LAMP+in+Ubuntu+8.04+Hardy+Heron&amp;summary=This%20guide%20will%20help%20newbies%20set%20up%20a%20fully%20working%20LAMP%20%28Linux%2C%20Apache%2C%20MySQL%2C%20PHP%29%20server%20using%20on%20Ubuntu%208.04%20Hardy%20Heron.%20Doing%20do%20will%20allow%20you%20to%20use%20various%20PHP%20applications%20such%20as%20the%20popular%20phpBB%20forums%20and%20Wordpress%20blog%20in%20addition%20to%20the%20basic%20HTML%20pages%20and%20files.%20I%20write%20this%20based%20&amp;source=Function13.net" rel="nofollow" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
<li class="sexy-google">
			<a href="" rel="nofollow" title=""></a>
		</li>
<li class="sexy-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://www.function13.net/2008/06/02/lighting-up-lamp/&amp;title=Lighting+up+LAMP+in+Ubuntu+8.04+Hardy+Heron" rel="nofollow" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
<li class="sexy-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.function13.net/2008/06/02/lighting-up-lamp/&amp;n=Lighting+up+LAMP+in+Ubuntu+8.04+Hardy+Heron&amp;pli=1" rel="nofollow" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<p><!-- End SexyBookmarks Menu Code --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.function13.net/2008/06/02/lighting-up-lamp/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>
