<?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>Fri, 20 Jan 2012 12:48:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</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 &#8230; <a href="http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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; title: ; notranslate">apt-get install lighttpd</pre>
<p>Now install PHP5 CGI package and PHP5 command line package</p>
<pre class="brush: plain; title: ; notranslate">apt-get install php5-cgi php5-cli</pre>
<p>Edit the following file</p>
<pre class="brush: plain; title: ; notranslate">nano /etc/php5/cgi/php.ini</pre>
<p>and uncomment this line</p>
<pre class="brush: plain; title: ; notranslate">cgi.fix_pathinfo = 1</pre>
<p>Now enable fastcgi module</p>
<pre class="brush: plain; title: ; notranslate">lighty-enable-mod fastcgi</pre>
<p>Restart Lighttpd</p>
<pre class="brush: plain; title: ; notranslate">/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" rel="lightbox[709]"><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; title: ; notranslate">apt-get install mysql-server mysql-client</pre>
<p>and optionally phpMyAdmin</p>
<pre class="brush: plain; title: ; notranslate">apt-get install phpmyadmin</pre>
<p>Now create a test page to see if phpinfo is all Ok</p>
<pre class="brush: plain; title: ; notranslate">nano /var/www/info.php</pre>
<p>Type in the following</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
phpinfo();
</pre>
<p><a href="http://www.asim.pk/wp-content/uploads/2010/07/phpinfo-fastcgi.png" rel="lightbox[709]"><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></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/07/19/installing-lighttpd-php-and-mysql-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>6</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 but what if we accidently skip the &#8230; <a href="http://www.asim.pk/2009/06/17/installing-re-installing-and-configuring-phpmyadmin-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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; title: ; notranslate">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; title: ; notranslate">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; title: ; notranslate">Include /etc/phpmyadmin/apache.conf</pre>
<p>Now restart Apache:</p>
<pre class="brush: plain; title: ; notranslate">sudo /etc/init.d/apache2 restart</pre>
<p>Go to <strong>/phpmyadmin/</strong> and login with your mysql username and password.</p>
]]></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>

