<?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>TechBytes &#187; phpMyAdmin</title>
	<atom:link href="http://www.asim.pk/tag/phpmyadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asim.pk</link>
	<description>Technology Bytes</description>
	<lastBuildDate>Mon, 06 Sep 2010 21:55:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Installing Lighttpd, PHP and MySQL on Ubuntu</title>
		<link>http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/</link>
		<comments>http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 13:22:38 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtual Private Server]]></category>
		<category><![CDATA[FastCGI]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu 10.04 LTS]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=709</guid>
		<description><![CDATA[If you are not getting a package on Ubuntu, please check to see if your /etc/apt/sources.list file is updated. This is common with most VPS providers On VPS, especially with challenging small memory limit (e.g. 64MB or 128MB) lighttpd is the best option instead of Apache. In this article I will show you how to [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>If you are <a href="http://www.asim.pk/2010/07/25/not-getting-a-package-on-ubuntu/" target="_blank">not getting a package on Ubuntu, please check to see if your /etc/apt/sources.list file is updated</a>. This is common with most VPS providers</p></blockquote>
<p>On VPS, especially with challenging small memory limit (e.g. 64MB or 128MB) lighttpd is the best option instead of Apache. In this article I will show you how to do that. On a fresh box (which has no apache installed) type this to get lighttpd webserver installed</p>
<pre class="brush: plain;">apt-get install lighttpd</pre>
<p>Now install PHP5 CGI package and PHP5 command line package</p>
<pre class="brush: plain;">apt-get install php5-cgi php5-cli</pre>
<p>Edit the following file</p>
<pre class="brush: plain;">nano /etc/php5/cgi/php.ini</pre>
<p>and uncomment this line</p>
<pre class="brush: plain;">cgi.fix_pathinfo = 1</pre>
<p>Now enable fastcgi module</p>
<pre class="brush: plain;">lighty-enable-mod fastcgi</pre>
<p>Restart Lighttpd</p>
<pre class="brush: plain;">/etc/init.d/lighttpd restart</pre>
<p>You get the welcome page<br />
<a href="http://www.asim.pk/wp-content/uploads/2010/07/lighttpd-welcome-page.png"><img src="http://www.asim.pk/wp-content/uploads/2010/07/lighttpd-welcome-page-300x128.png" alt="" title="lighttpd-welcome-page" width="300" height="128" class="aligncenter size-medium wp-image-711" /></a></p>
<p>Lets install MySQL 5.1 server and client</p>
<pre class="brush: plain;">apt-get install mysql-server mysql-client</pre>
<p>and optionally phpMyAdmin</p>
<pre class="brush: plain;">apt-get install phpmyadmin</pre>
<p>Now create a test page to see if phpinfo is all Ok</p>
<pre class="brush: plain;">nano /var/www/info.php</pre>
<p>Type in the following</p>
<pre class="brush: php;">
&lt;?php
phpinfo();
</pre>
<p><a href="http://www.asim.pk/wp-content/uploads/2010/07/phpinfo-fastcgi.png"><img src="http://www.asim.pk/wp-content/uploads/2010/07/phpinfo-fastcgi-262x300.png" alt="" title="phpinfo-fastcgi" width="262" height="300" class="aligncenter size-medium wp-image-713" /></a><br />
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<li>May 27, 2010 &#8212; <a href="http://www.asim.pk/2010/05/27/installing-phps-ssh2-extension-on-ubuntu/" title="Installing PHP&#8217;s SSH2 extension on Ubuntu">Installing PHP&#8217;s SSH2 extension on Ubuntu</a></li>
<li>May 15, 2010 &#8212; <a href="http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/" title="Good bye CentOS! Hello Ubuntu">Good bye CentOS! Hello Ubuntu</a></li>
<li>June 21, 2010 &#8212; <a href="http://www.asim.pk/2010/06/21/php-depreciated-errors-on-ubuntu-10-04-lts/" title="PHP Depreciated errors on Ubuntu 10.04 LTS">PHP Depreciated errors on Ubuntu 10.04 LTS</a></li>
<li>May 30, 2010 &#8212; <a href="http://www.asim.pk/2010/05/30/install-php5-adodb-extension-on-ubuntu/" title="Install PHP5 ADOdb extension on Ubuntu">Install PHP5 ADOdb extension on Ubuntu</a></li>
<li>August 28, 2010 &#8212; <a href="http://www.asim.pk/2010/08/28/vpslatch-vps-benchmark/" title="VPSLatch VPS Benchmark">VPSLatch VPS Benchmark</a></li>
<li>August 14, 2010 &#8212; <a href="http://www.asim.pk/2010/08/14/spacerich-vps-benchmark/" title="Spacerich VPS Benchmark">Spacerich VPS Benchmark</a></li>
<li>August 13, 2010 &#8212; <a href="http://www.asim.pk/2010/08/13/thrustvps-xen-hvm-benchmark/" title="ThrustVPS XEN HVM Benchmark">ThrustVPS XEN HVM Benchmark</a></li>
<li>May 29, 2010 &#8212; <a href="http://www.asim.pk/2010/05/29/installing-t1lib-on-ubuntu/" title="Installing T1LIB on Ubuntu">Installing T1LIB on Ubuntu</a></li>
<li>June 17, 2009 &#8212; <a href="http://www.asim.pk/2009/06/17/installing-re-installing-and-configuring-phpmyadmin-on-ubuntu/" title="Installing / re-installing and Configuring phpMyAdmin on Ubuntu">Installing / re-installing and Configuring phpMyAdmin on Ubuntu</a></li>
<li>May 1, 2009 &#8212; <a href="http://www.asim.pk/2009/05/01/installing-mysql-51-on-ubuntu/" title="Installing MySQL 5.1 on Ubuntu">Installing MySQL 5.1 on Ubuntu</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing / re-installing and Configuring phpMyAdmin on Ubuntu</title>
		<link>http://www.asim.pk/2009/06/17/installing-re-installing-and-configuring-phpmyadmin-on-ubuntu/</link>
		<comments>http://www.asim.pk/2009/06/17/installing-re-installing-and-configuring-phpmyadmin-on-ubuntu/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 11:23:38 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[Ubuntu Desktop]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=372</guid>
		<description><![CDATA[phpMyAdmin is a very common and handy tool that most of the developers use. It is available on almost every server. Installing phpMyAdmin on Ubuntu server is even easier, you just need to sudo apt-get install phpmyadmin but what if we accidently skip the configuration screen where phpmyadmin makes modifications to apache? Dont worry just [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.phpmyadmin.net/" target="_blank">phpMyAdmin</a></strong> is a very common and handy tool that most of the developers use. It is available on almost every server.</p>
<p>Installing phpMyAdmin on Ubuntu server is even easier, you just need to</p>
<pre class="brush: plain;">sudo apt-get install phpmyadmin</pre>
<p>but what if we accidently skip the configuration screen where phpmyadmin makes modifications to apache?</p>
<p>Dont worry just do the following</p>
<p>Edit Apache&#8217;s configuration file (assuming you are using apache2)</p>
<pre class="brush: plain;">sudo nano /etc/apache2/apache2.conf
# better to use the following command instead of the one above
#gksudo gedit /etc/apache2/apache2.conf</pre>
<p>Add the following line of code inside apache2.conf:</p>
<pre class="brush: plain;">Include /etc/phpmyadmin/apache.conf</pre>
<p>Now restart Apache:</p>
<pre class="brush: plain;">sudo /etc/init.d/apache2 restart</pre>
<p>Go to <strong>/phpmyadmin/</strong> and login with your mysql username and password.</p>
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<li>July 19, 2010 &#8212; <a href="http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/" title="Installing Lighttpd, PHP and MySQL on Ubuntu">Installing Lighttpd, PHP and MySQL on Ubuntu</a></li>
<li>May 15, 2010 &#8212; <a href="http://www.asim.pk/2010/05/15/good-bye-centos-hello-ubuntu/" title="Good bye CentOS! Hello Ubuntu">Good bye CentOS! Hello Ubuntu</a></li>
<li>March 4, 2009 &#8212; <a href="http://www.asim.pk/2009/03/04/intall-apache-mysql-and-php-on-ubuntu-part-2/" title="Intall Apache, MySQL and PHP on Ubuntu &#8211; Part 2">Intall Apache, MySQL and PHP on Ubuntu &#8211; Part 2</a></li>
<li>January 22, 2009 &#8212; <a href="http://www.asim.pk/2009/01/22/ubuntu-setting-default-gateway-ip-etc/" title="Ubuntu: Setting default gateway / ip etc">Ubuntu: Setting default gateway / ip etc</a></li>
<li>January 9, 2009 &#8212; <a href="http://www.asim.pk/2009/01/09/intall-apache-mysql-and-php-on-ubuntu-810/" title="Intall Apache, MySQL and PHP on Ubuntu 8.10">Intall Apache, MySQL and PHP on Ubuntu 8.10</a></li>
<li>August 28, 2010 &#8212; <a href="http://www.asim.pk/2010/08/28/vpslatch-vps-benchmark/" title="VPSLatch VPS Benchmark">VPSLatch VPS Benchmark</a></li>
<li>August 14, 2010 &#8212; <a href="http://www.asim.pk/2010/08/14/spacerich-vps-benchmark/" title="Spacerich VPS Benchmark">Spacerich VPS Benchmark</a></li>
<li>August 13, 2010 &#8212; <a href="http://www.asim.pk/2010/08/13/thrustvps-xen-hvm-benchmark/" title="ThrustVPS XEN HVM Benchmark">ThrustVPS XEN HVM Benchmark</a></li>
<li>June 21, 2010 &#8212; <a href="http://www.asim.pk/2010/06/21/php-depreciated-errors-on-ubuntu-10-04-lts/" title="PHP Depreciated errors on Ubuntu 10.04 LTS">PHP Depreciated errors on Ubuntu 10.04 LTS</a></li>
<li>May 30, 2010 &#8212; <a href="http://www.asim.pk/2010/05/30/install-php5-adodb-extension-on-ubuntu/" title="Install PHP5 ADOdb extension on Ubuntu">Install PHP5 ADOdb extension on Ubuntu</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/06/17/installing-re-installing-and-configuring-phpmyadmin-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
