<?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; OpenSource</title>
	<atom:link href="http://www.asim.pk/tags/opensource/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asim.pk</link>
	<description>Technology Bytes</description>
	<lastBuildDate>Wed, 28 Jul 2010 19:00:29 +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[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 apt-get install lighttpd Now install PHP5 CGI package [...]]]></description>
			<content:encoded><![CDATA[<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>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>
<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>January 8, 2009 &#8212; <a href="http://www.asim.pk/2009/01/08/ubuntu-810-perfect-linux-distro-for-php-development/" title="Ubuntu 8.10, Perfect Linux distro for PHP development">Ubuntu 8.10, Perfect Linux distro for PHP development</a></li>
<li>July 29, 2010 &#8212; <a href="http://www.asim.pk/2010/07/29/using-facebook-graph-api-to-keep-an-eye-on-friends-activity/" title="Using Facebook Graph API to keep an eye on friends activity">Using Facebook Graph API to keep an eye on friends activity</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>Install PHP5 ADOdb extension on Ubuntu</title>
		<link>http://www.asim.pk/2010/05/30/install-php5-adodb-extension-on-ubuntu/</link>
		<comments>http://www.asim.pk/2010/05/30/install-php5-adodb-extension-on-ubuntu/#comments</comments>
		<pubDate>Sun, 30 May 2010 05:00:37 +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[ADOdb]]></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=673</guid>
		<description><![CDATA[ADOdb library is a very good data abstraction layer for PHP. Installing a PHP extension enables the library to auto-detect this and give even better performance. To install this library on Ubuntu 10.04 LTS do this apt-get install php5-adodb Related Posts (auto suggestions based on tags) July 19, 2010 &#8212; Installing Lighttpd, PHP and MySQL [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://adodb.sf.net/">ADOdb</a> library is a very good data abstraction layer for <a href="http://www.php.net">PHP</a>. Installing a PHP extension enables the library to auto-detect this and give even better performance. To install this library on <strong>Ubuntu 10.04 LTS</strong> do this</p>
<pre class="brush: plain;">apt-get install php5-adodb</pre>
<p><img src="http://www.asim.pk/wp-content/uploads/2010/05/php5-adodb-on-ubuntu.png" alt="" title="php5-adodb-on-ubuntu" width="638" height="128" class="aligncenter size-full wp-image-674" /><br />
<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>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 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>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>July 25, 2010 &#8212; <a href="http://www.asim.pk/2010/07/25/not-getting-a-package-on-ubuntu/" title="Not getting a package on Ubuntu?">Not getting a package on Ubuntu?</a></li>
<li>May 28, 2010 &#8212; <a href="http://www.asim.pk/2010/05/28/build-essentials-in-centos/" title="Build-Essentials in CentOS?">Build-Essentials in CentOS?</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>
<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>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/30/install-php5-adodb-extension-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing T1LIB on Ubuntu</title>
		<link>http://www.asim.pk/2010/05/29/installing-t1lib-on-ubuntu/</link>
		<comments>http://www.asim.pk/2010/05/29/installing-t1lib-on-ubuntu/#comments</comments>
		<pubDate>Sat, 29 May 2010 05:00:43 +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[LTS]]></category>
		<category><![CDATA[T1Lib]]></category>
		<category><![CDATA[Ubuntu 10.04 LTS]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=671</guid>
		<description><![CDATA[I recently found out about T1LIB. But I had no clue how to install this. Lucky for me I am on Ubuntu and I have the ability to search for a package. T1LIB is actually in the latest Ubuntu 10.04 LTS. You can install it by punching in the following command apt-get install t1lib-bin Related [...]]]></description>
			<content:encoded><![CDATA[<p>I recently found out about <a href="http://www.t1lib.org/">T1LIB</a>. But I had no clue how to install this. Lucky for me I am on <a href="http://www.ubuntu.com">Ubuntu</a> and I have the ability to search for a package.</p>
<p><a href="http://packages.ubuntu.com/source/lucid/t1lib">T1LIB is actually in the latest Ubuntu 10.04 LTS</a>. You can install it by punching in the following command</p>
<pre class="brush: plain;">apt-get install t1lib-bin</pre>
<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>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>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>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>May 28, 2010 &#8212; <a href="http://www.asim.pk/2010/05/28/build-essentials-in-centos/" title="Build-Essentials in CentOS?">Build-Essentials in CentOS?</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>
<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>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/05/29/installing-t1lib-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla does not support PHP 5.3</title>
		<link>http://www.asim.pk/2010/01/13/joomla-does-not-support-php-5-3/</link>
		<comments>http://www.asim.pk/2010/01/13/joomla-does-not-support-php-5-3/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 19:00:13 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP 5.3]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=602</guid>
		<description><![CDATA[Are you getting these errors in Joomla? Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in /home/xx/public_html/libraries/joomla/cache/handler/callback.php on line 99 or Warning: Parameter 1 to HTML_content::show() expected to be a reference, value given in /home/xx/public_html/travel/includes/Cache/Lite/Function.php on line 92 Its because Joomla does not support PHP 5.3 or PHP 5.3.1 Just downgrade [...]]]></description>
			<content:encoded><![CDATA[<p>Are you getting these errors in Joomla?</p>
<blockquote><p>Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in /home/xx/public_html/libraries/joomla/cache/handler/callback.php on line 99</p></blockquote>
<p>or</p>
<blockquote><p>Warning: Parameter 1 to HTML_content::show() expected to be a reference, value given in /home/xx/public_html/travel/includes/Cache/Lite/Function.php on line 92</p></blockquote>
<p>Its because Joomla does not support PHP 5.3 or PHP 5.3.1</p>
<p>Just downgrade your PHP version and these errors will go away<br />
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<li>January 12, 2010 &#8212; <a href="http://www.asim.pk/2010/01/12/fixing-pear-unsupported-protocal-error/" title="Fixing Pear &#8216;unsupported protocal&#8217; error">Fixing Pear &#8216;unsupported protocal&#8217; error</a></li>
<li>February 26, 2009 &#8212; <a href="http://www.asim.pk/2009/02/26/joomla-10x-retires-in-2009/" title="Joomla 1.0.x retires in 2009">Joomla 1.0.x retires in 2009</a></li>
<li>December 24, 2008 &#8212; <a href="http://www.asim.pk/2008/12/24/joomla-security-strike-team-jsst-to-focus-on-joomla-security/" title="Joomla Security Strike Team (JSST) to focus on Joomla Security">Joomla Security Strike Team (JSST) to focus on Joomla Security</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2010/01/13/joomla-does-not-support-php-5-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CentOS yum update missing dependency error</title>
		<link>http://www.asim.pk/2009/08/07/centos-yum-update-missing-dependency-error/</link>
		<comments>http://www.asim.pk/2009/08/07/centos-yum-update-missing-dependency-error/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 12:13:47 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=429</guid>
		<description><![CDATA[If you are using yum update on CentOS and getting the following errors Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed) gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed) Error: Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed) Error: Missing Dependency: /usr/lib/python2.4 is needed by package [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using</p>
<pre class="brush: plain;">yum update</pre>
<p>on CentOS and getting the following errors</p>
<blockquote><p>Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed)<br />
gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems<br />
Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed)<br />
Error: Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed)<br />
Error: Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed)</p></blockquote>
<p>Don&#8217;t panic, the solution is simple &#8230; just run the following command</p>
<pre class="brush: plain;">yum clean all</pre>
<p>Then do</p>
<pre class="brush: plain;">yum update</pre>
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<li>May 28, 2010 &#8212; <a href="http://www.asim.pk/2010/05/28/build-essentials-in-centos/" title="Build-Essentials in CentOS?">Build-Essentials in CentOS?</a></li>
<li>January 9, 2010 &#8212; <a href="http://www.asim.pk/2010/01/09/to-update-or-not-to-update/" title="To update or not to update?">To update or not to update?</a></li>
<li>July 10, 2009 &#8212; <a href="http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/" title="Installing PHP 5.2.6 on CentOS box">Installing PHP 5.2.6 on CentOS box</a></li>
<li>July 2, 2009 &#8212; <a href="http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/" title="How to Install Apache, PHP and MySQL on CentOS">How to Install Apache, PHP and MySQL on CentOS</a></li>
<li>May 27, 2010 &#8212; <a href="http://www.asim.pk/2010/05/27/linode-is-blazzing-fast/" title="Linode is Blazzing Fast">Linode is Blazzing Fast</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>May 8, 2010 &#8212; <a href="http://www.asim.pk/2010/05/08/bought-a-new-vps-from-quickweb/" title="Bought a new VPS from QuickWeb">Bought a new VPS from QuickWeb</a></li>
<li>January 12, 2010 &#8212; <a href="http://www.asim.pk/2010/01/12/fixing-pear-unsupported-protocal-error/" title="Fixing Pear &#8216;unsupported protocal&#8217; error">Fixing Pear &#8216;unsupported protocal&#8217; error</a></li>
<li>November 26, 2009 &#8212; <a href="http://www.asim.pk/2009/11/26/unfinished-transactions-remaining-run-yum-complete-transaction-first-error/" title="Are you getting &#8220;Unfinished transactions remaining &#8230; run yum-complete-transaction first&#8221; error?">Are you getting &#8220;Unfinished transactions remaining &#8230; run yum-complete-transaction first&#8221; error?</a></li>
<li>July 1, 2009 &#8212; <a href="http://www.asim.pk/2009/07/01/how-to-install-webmin-in-centos/" title="How to Install Webmin in CentOS">How to Install Webmin in CentOS</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/08/07/centos-yum-update-missing-dependency-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PHP 5.2.6 on CentOS box</title>
		<link>http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/</link>
		<comments>http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 10:15:03 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS 5.3]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nano]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[utterramblings]]></category>
		<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=408</guid>
		<description><![CDATA[If you want to install PHP 5.2.x instead of the PHP 1.5.6 offered with default CentOSPlus repo. Please consider installing the utterramblings repo. Setting up this repo is a breeze &#8230; just follow these steps nano -w /etc/yum.repos.d/utterramblings.repo (I prefer nano as I mentioned earlier in my posts but you can use vi or any [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to install PHP 5.2.x instead of the PHP 1.5.6 offered with default <a href="http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/" target="_blank"><strong>CentOSPlus repo</strong></a>. Please consider installing the <a href="http://www.jasonlitka.com/yum-repository/" target="_blank"><strong>utterramblings</strong></a> repo. Setting up this repo is a breeze &#8230; just follow these steps</p>
<p><span id="more-408"></span></p>
<pre class="brush: plain;">nano -w /etc/yum.repos.d/utterramblings.repo</pre>
<p>(I prefer nano as I mentioned earlier in my posts but you can use <strong>vi</strong> or any other editor that you like)</p>
<p>Then paste the following code in the editor</p>
<pre class="brush: plain;">[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka</pre>
<p>Hit <strong>Ctrl+X</strong> and it will prompt you to save this file, you need to confirm this with punching <strong>Y</strong></p>
<p>Now comes the last step, type the following and everything will be updated <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush: plain;">yum update</pre>
<p>Enjoy the latest packages <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Note:</strong> PHP 5.3.0 is still not available in stable repos because the Zend Optimizer is still in Beta for that particular version.<br />
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<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>July 2, 2009 &#8212; <a href="http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/" title="How to Install Apache, PHP and MySQL on CentOS">How to Install Apache, PHP and MySQL on CentOS</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>January 8, 2009 &#8212; <a href="http://www.asim.pk/2009/01/08/ubuntu-810-perfect-linux-distro-for-php-development/" title="Ubuntu 8.10, Perfect Linux distro for PHP development">Ubuntu 8.10, Perfect Linux distro for PHP development</a></li>
<li>May 28, 2010 &#8212; <a href="http://www.asim.pk/2010/05/28/build-essentials-in-centos/" title="Build-Essentials in CentOS?">Build-Essentials in CentOS?</a></li>
<li>May 27, 2010 &#8212; <a href="http://www.asim.pk/2010/05/27/linode-is-blazzing-fast/" title="Linode is Blazzing Fast">Linode is Blazzing Fast</a></li>
<li>May 8, 2010 &#8212; <a href="http://www.asim.pk/2010/05/08/bought-a-new-vps-from-quickweb/" title="Bought a new VPS from QuickWeb">Bought a new VPS from QuickWeb</a></li>
<li>May 8, 2010 &#8212; <a href="http://www.asim.pk/2010/05/08/how-to-change-password-in-linux-console/" title="How to change password in linux console?">How to change password in linux console?</a></li>
<li>January 12, 2010 &#8212; <a href="http://www.asim.pk/2010/01/12/fixing-pear-unsupported-protocal-error/" title="Fixing Pear &#8216;unsupported protocal&#8217; error">Fixing Pear &#8216;unsupported protocal&#8217; error</a></li>
<li>January 9, 2010 &#8212; <a href="http://www.asim.pk/2010/01/09/to-update-or-not-to-update/" title="To update or not to update?">To update or not to update?</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Install Apache, PHP and MySQL on CentOS</title>
		<link>http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/</link>
		<comments>http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 04:47:33 +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[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=391</guid>
		<description><![CDATA[I have seen people installing Apache, PHP and MySQL from source code on a production server. You should NEVER, NEVER, NEVER install these packages from source on an RPM or DEB based Linux distributions. Did I say “NEVER” enough times to make your realize that it is not a good practice? Installing from source is [...]]]></description>
			<content:encoded><![CDATA[<p>I have seen people installing Apache, PHP and MySQL from source code on a production server. You should NEVER, NEVER, NEVER install these packages from source on an RPM or DEB based Linux distributions. Did I say “NEVER” enough times to make your realize that it is not a good practice?</p>
<p>Installing from source is bad idea; there are many reasons for this but the major one is that you will be spending a lot of time keeping the system updated. If you love installing from source then I would suggest using a different distribution e.g. Gentoo.</p>
<p>You can build from source if the package is not available in yum but still, try to use “yum” (or “apt-get” on Ubuntu) because it will save a lot of your time when upgrading your packages.</p>
<p><span id="more-391"></span></p>
<p>So here is the procedure to Install Apache, PHP and MySQL on a CentOS box.</p>
<p>First of all edit the following file using “<strong>vi</strong>” or any other editor you prefer (I prefer <strong>nano</strong>)</p>
<pre class="brush: plain;">nano /etc/yum.repos.d/CentOS-Base.repo</pre>
<p>Find the line under <strong>[centosplus]</strong> that reads something like this</p>
<pre class="brush: plain;">enabled = 0</pre>
<p>Change it to</p>
<pre class="brush: plain;">enabled = 1</pre>
<p>Then do</p>
<pre class="brush: plain;">yum install httpd php mysql-server php-mysql php-gd</pre>
<p>This will install Apache, PHP, MySQL and many other common packages</p>
<p>All you need now is to start Apache (httpd) and MySQL (mysqld)</p>
<pre class="brush: plain;">/etc/init.d/httpd start
/etc/init.d/mysqld start</pre>
<p>Wow, that was easy, so you got Apache, PHP and MySQL running on your system but still needs to be configured to auto-run on server boot (or reboot). Just punch in the following command and it will be done for both Apache and MySQL (you don’t need to do this for PHP since it is already bind to Apache)</p>
<pre class="brush: plain;">/sbin/chkconfig httpd --level 345 on
/sbin/chkconfig mysqld --level 345 on</pre>
<p><strong>345</strong> are basically run level 3, 4 and 5. If you want to study more about Run Levels please consult <strong><a href="http://en.wikipedia.org/wiki/Runlevel#Typical_Linux_runlevels " target="_blank">this article</a></strong>.</p>
<p>That&#8217;s it, these simple steps will give install Apache, PHP, MySQL and all the common packages that you will require. Most importantly, you can update these packages with just</p>
<pre class="brush: plain;">yum update</pre>
<p>(You may try this command right now but it will not work since you already got all the updated stuff installed)</p>
<p>Updating your system is a breeze now <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Note 1:</strong> Please change the password for “root” user in MySQL.</p>
<p><strong>Note 2:</strong> Your “DocumentRoot” is /var/www/html.</p>
<p><strong>Update: </strong>Added instructions to auto-start Apache and MySQL when system starts / restarts.<br />
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<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>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>July 10, 2009 &#8212; <a href="http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/" title="Installing PHP 5.2.6 on CentOS box">Installing PHP 5.2.6 on CentOS box</a></li>
<li>January 8, 2009 &#8212; <a href="http://www.asim.pk/2009/01/08/ubuntu-810-perfect-linux-distro-for-php-development/" title="Ubuntu 8.10, Perfect Linux distro for PHP development">Ubuntu 8.10, Perfect Linux distro for PHP development</a></li>
<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>June 20, 2010 &#8212; <a href="http://www.asim.pk/2010/06/20/set-mysql-root-password-on-fresh-copy-from-solusvm-os-template/" title="Set mysql&#8217;s root password on fresh copy from SolusVM OS template">Set mysql&#8217;s root password on fresh copy from SolusVM OS template</a></li>
<li>May 28, 2010 &#8212; <a href="http://www.asim.pk/2010/05/28/build-essentials-in-centos/" title="Build-Essentials in CentOS?">Build-Essentials in CentOS?</a></li>
<li>January 9, 2010 &#8212; <a href="http://www.asim.pk/2010/01/09/to-update-or-not-to-update/" title="To update or not to update?">To update or not to update?</a></li>
<li>August 7, 2009 &#8212; <a href="http://www.asim.pk/2009/08/07/centos-yum-update-missing-dependency-error/" title="CentOS yum update missing dependency error">CentOS yum update missing dependency error</a></li>
<li>July 29, 2010 &#8212; <a href="http://www.asim.pk/2010/07/29/using-facebook-graph-api-to-keep-an-eye-on-friends-activity/" title="Using Facebook Graph API to keep an eye on friends activity">Using Facebook Graph API to keep an eye on friends activity</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/07/02/how-to-install-apache-php-and-mysql-on-centos/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Install Webmin in CentOS</title>
		<link>http://www.asim.pk/2009/07/01/how-to-install-webmin-in-centos/</link>
		<comments>http://www.asim.pk/2009/07/01/how-to-install-webmin-in-centos/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 09:20:03 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Webmin]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=385</guid>
		<description><![CDATA[Earlier, I posted a how-to to Install Webmin on Ubuntu, now im going through the tutorial again but this time for CentOS. Install dependancies before we proceed to install webmin yum -y install perl-Net-SSLeay Download the latest version of webmin wget http://downloads.sourceforge.net/project/webadmin/webmin/1.500/webmin-1.500-1.noarch.rpm?use_mirror=ignum Once it is downloaded, install the RPM using the following command rpm -i [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier, I posted a how-to to <a href="http://www.asim.pk/2009/01/08/how-to-install-webmin-in-ubuntu-810/" target="_self">Install Webmin on Ubuntu</a>, now im going through the tutorial again but this time for CentOS.</p>
<p>Install dependancies before we proceed to install webmin</p>
<pre class="brush: plain;">yum -y install perl-Net-SSLeay</pre>
<p>Download the latest version of webmin</p>
<pre class="brush: plain;">wget http://downloads.sourceforge.net/project/webadmin/webmin/1.500/webmin-1.500-1.noarch.rpm?use_mirror=ignum</pre>
<p>Once it is downloaded, install the RPM using the following command</p>
<pre class="brush: plain;">rpm -i webmin-1.500-1.noarch.rpm</pre>
<p>No more steps required. Its installed <img src='http://www.asim.pk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Go to your browser and access the control panel with valid ssh credentials</p>
<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/linode-is-blazzing-fast/" title="Linode is Blazzing Fast">Linode is Blazzing Fast</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>May 8, 2010 &#8212; <a href="http://www.asim.pk/2010/05/08/bought-a-new-vps-from-quickweb/" title="Bought a new VPS from QuickWeb">Bought a new VPS from QuickWeb</a></li>
<li>July 10, 2009 &#8212; <a href="http://www.asim.pk/2009/07/10/installing-php-5-2-6-on-centos-box/" title="Installing PHP 5.2.6 on CentOS box">Installing PHP 5.2.6 on CentOS box</a></li>
<li>January 8, 2009 &#8212; <a href="http://www.asim.pk/2009/01/08/ubuntu-810-perfect-linux-distro-for-php-development/" title="Ubuntu 8.10, Perfect Linux distro for PHP development">Ubuntu 8.10, Perfect Linux distro for PHP development</a></li>
<li>January 8, 2009 &#8212; <a href="http://www.asim.pk/2009/01/08/how-to-install-webmin-in-ubuntu-810/" title="How to Install Webmin in Ubuntu">How to Install Webmin in Ubuntu</a></li>
<li>June 23, 2010 &#8212; <a href="http://www.asim.pk/2010/06/23/how-to-change-bash/" title="How to change &#8220;-bash-*&#8221;?">How to change &#8220;-bash-*&#8221;?</a></li>
<li>May 28, 2010 &#8212; <a href="http://www.asim.pk/2010/05/28/build-essentials-in-centos/" title="Build-Essentials in CentOS?">Build-Essentials in CentOS?</a></li>
<li>May 8, 2010 &#8212; <a href="http://www.asim.pk/2010/05/08/how-to-change-password-in-linux-console/" title="How to change password in linux console?">How to change password in linux console?</a></li>
<li>January 12, 2010 &#8212; <a href="http://www.asim.pk/2010/01/12/fixing-pear-unsupported-protocal-error/" title="Fixing Pear &#8216;unsupported protocal&#8217; error">Fixing Pear &#8216;unsupported protocal&#8217; error</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/07/01/how-to-install-webmin-in-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSS Feed to Twitter</title>
		<link>http://www.asim.pk/2009/06/17/rss-feed-to-twitter/</link>
		<comments>http://www.asim.pk/2009/06/17/rss-feed-to-twitter/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 13:21:29 +0000</pubDate>
		<dc:creator>Asim Zeeshan</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Feed]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.asim.pk/?p=378</guid>
		<description><![CDATA[Since twitterfeed.com has not been working good for me so I started looking at alternatives and found this great post about how to do this via PHP Read RSS Feed Mashup + Twitter = Yummy! Related Posts (auto suggestions based on tags) February 28, 2009 &#8212; TwitterTweets, a PHP wrapper class for Twitter REST API [...]]]></description>
			<content:encoded><![CDATA[<p>Since <a href="http://twitterfeed.com" target="_blank"><strong>twitterfeed.com</strong></a> has not been working good for me so I started looking at alternatives and found this great post about how to do this via <a href="http://www.php.net/"><strong>PHP</strong></a></p>
<p>Read <a href="http://hasin.wordpress.com/2009/04/24/rss-feed-mashup-twitter-yummy/" target="_blank"><strong>RSS Feed Mashup + Twitter = Yummy!</strong></a><br />
<h3>Related Posts (auto suggestions based on tags)</h3>
<ul class="related_post">
<li>February 28, 2009 &#8212; <a href="http://www.asim.pk/2009/02/28/twittertweets-a-php-wrapper-class-for-twitter-rest-api/" title="TwitterTweets, a PHP wrapper class for Twitter REST API">TwitterTweets, a PHP wrapper class for Twitter REST API</a></li>
<li>July 29, 2010 &#8212; <a href="http://www.asim.pk/2010/07/29/using-facebook-graph-api-to-keep-an-eye-on-friends-activity/" title="Using Facebook Graph API to keep an eye on friends activity">Using Facebook Graph API to keep an eye on friends activity</a></li>
<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>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>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>January 7, 2010 &#8212; <a href="http://www.asim.pk/2010/01/07/exploring-kohana-as-an-alternative-to-codeigniter/" title="Exploring Kohana as an Alternative to CodeIgniter">Exploring Kohana as an Alternative to CodeIgniter</a></li>
<li>January 6, 2010 &#8212; <a href="http://www.asim.pk/2010/01/06/kohana-or-codeigniter-or-cakephp/" title="Kohana or CodeIgniter or CakePHP?">Kohana or CodeIgniter or CakePHP?</a></li>
<li>July 29, 2009 &#8212; <a href="http://www.asim.pk/2009/07/29/twitter-bird-in-real-life/" title="Twitter bird in real life">Twitter bird in real life</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.asim.pk/2009/06/17/rss-feed-to-twitter/feed/</wfw:commentRss>
		<slash:comments>0</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>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>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>May 28, 2010 &#8212; <a href="http://www.asim.pk/2010/05/28/build-essentials-in-centos/" title="Build-Essentials in CentOS?">Build-Essentials in CentOS?</a></li>
<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>
</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>
