<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2" -->
<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/"
	>

<channel>
	<title>Corpocrat Blog &#187; Linux/Unix</title>
	<link>http://corpocrat.com</link>
	<description>Daily Blog from Internet Entrepreneur/Webmaster</description>
	<pubDate>Tue, 18 Nov 2008 18:40:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>
	<language>en</language>
			<item>
		<title>FIX-&gt;Fatal error: Maximum execution time of 300 seconds exceeded with phpMyAdmin</title>
		<link>http://corpocrat.com/2008/11/13/fix-fatal-error-maximum-execution-time-of-300-seconds-exceeded/</link>
		<comments>http://corpocrat.com/2008/11/13/fix-fatal-error-maximum-execution-time-of-300-seconds-exceeded/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 13:17:51 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<category><![CDATA[PHP Scripts]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/11/13/fix-fatal-error-maximum-execution-time-of-300-seconds-exceeded/</guid>
		<description><![CDATA[PHPMyAdmin will not work for uploading large mysql databases. If you attempt to upload a large mysql dataset you will often get this error
Fatal error: Maximum execution time of 300 seconds exceeded
Fix:
If you get this error you will need edit config.default.php inside phpmyadmin and look for this line
$cfg[&#8217;ExecTimeLimit&#8217;]  = 300; 
and replace with 0 [...]]]></description>
			<content:encoded><![CDATA[<p>PHPMyAdmin will not work for uploading large mysql databases. If you attempt to upload a large mysql dataset you will often get this error</p>
<blockquote><p>Fatal error: Maximum execution time of 300 seconds exceeded</p></blockquote>
<p>Fix:</p>
<p>If you get this error you will need edit config.default.php inside phpmyadmin and look for this line</p>
<blockquote><p>$cfg[&#8217;ExecTimeLimit&#8217;]  = 300; </p></blockquote>
<p>and replace with 0 or any larger value</p>
<blockquote><p>$cfg[&#8217;ExecTimeLimit&#8217;]  = 3600; </p></blockquote>
<p>If that doesnt work, try this <a href="http://www.ozerov.de/bigdump.php">BigDump MySQL Importer</a>. It is free for download. </p>
<p>If you have commandline SSH access, and your SQL file is in gzip format use this superfast command to import large gzipped mysql databases</p>
<blockquote><p>gunzip < dbname.gz | mysql -u Username -p dbname</p></blockquote>
<p>Always consider GZIP to export and dump large mysql databases as it has better compression than ZIP formats.</p>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/11/13/fix-fatal-error-maximum-execution-time-of-300-seconds-exceeded/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to do backups with Network Attached Storage (NAS) in Linux</title>
		<link>http://corpocrat.com/2008/10/29/how-to-do-backups-with-network-attached-storage-nas-in-linux/</link>
		<comments>http://corpocrat.com/2008/10/29/how-to-do-backups-with-network-attached-storage-nas-in-linux/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 22:06:47 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/10/29/how-to-do-backups-with-network-attached-storage-nas-in-linux/</guid>
		<description><![CDATA[Network Attached Storage (NAS) is the cheap and easy way of storing your server backup files. Most often i used to do a cpanel backup files every week and i always wanted to store these files outside by server. Should my server crash, i can easily retrieve backup through FTP and restore the whole site. [...]]]></description>
			<content:encoded><![CDATA[<p>Network Attached Storage (NAS) is the cheap and easy way of storing your server backup files. Most often i used to do a cpanel backup files every week and i always wanted to store these files outside by server. Should my server crash, i can easily retrieve backup through FTP and restore the whole site. </p>
<p>Although NAS is not fully fault tolerant, its a very primitive form of backup and the one disadvantage is should the hosting providers network go down you wont be able to move your backup to another host. You have to wait until your host network is up and running.  I would suggest <strong>evault</strong> which is one of the cheap and reliable fault tolerant backup distributed over different locations and servers. If you have a dedicated server then NAS should cost about $5/mon and $10/mon for evault.</p>
<p>Here i will demonstrate how to store and retrieve files with Network Attached Storage (NAS) from commandline.</p>
<p><strong>Step: 1</strong><br />
Get NAS ip address with user name and password from your hosting provider.</p>
<p><strong>Step 2:</strong> If you have any firewalls(APF or CSF firewall) running, you have to unblock the following TCP/UDP ports <strong>137,138,139,445</strong></p>
<p>Step 3:<br />
Connect through FTP and store files. You just need to know the basic knowledge of ftp commands from linux commandline. </p>
<p><code>ftp <11.22.33.44><br />
Username: <username><br />
Password:
<password></code></p>
<p>Then,</p>
<p>(i)  switch off prompt</p>
<p><code>ftp> prompt<br />
Prompt off</code></p>
<p>(ii) Switch to binary mode</p>
<p><code>ftp> binary<br />
BINARY mode ON</code></p>
<p>(iii) Store backup files using put</p>
<p>Then transfer files to remote NAS with put</p>
<p><code>put source-file [remote-destination]<br />
put /mybackup.tar.gz /backups</code></p>
<p>(iv) Retrieve backup files using <strong>get</strong><br />
Similarly to retrieve backup file from remote use <strong>get</strong></p>
<p><code>get source-file [destination]</code></p>
<p>Note: [remote-destination] is optional</p>
<p>(iv) To FTP transfer (store/retrieve) Multiple files at once use <strong>mput or mget</strong> with asterisks.</p>
<p><code><br />
mput backup* /backups<br />
mget backup* /backups</code></p>
<p>(vi) To list remotely stored files in FTP use <strong>nlist</strong></p>
<p><code>nlist /backups</code></p>
<p>Good luck!</p>
<blockquote><p>With Backups YOU can SLEEP with Peace of MIND</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/10/29/how-to-do-backups-with-network-attached-storage-nas-in-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Fix] Ziplib compile error with zziptest.c</title>
		<link>http://corpocrat.com/2008/10/19/fix-ziplib-compile-error-with-zziptestc/</link>
		<comments>http://corpocrat.com/2008/10/19/fix-ziplib-compile-error-with-zziptestc/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 19:37:57 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/10/19/fix-ziplib-compile-error-with-zziptestc/</guid>
		<description><![CDATA[I was trying to compile and install zziplib in my server and i downloaded the version zziplib-0.10.82 and it was giving me errors like
../../bins/zziptest.c: In function &#8216;main&#8217;:
../../bins/zziptest.c:76: error: invalid lvalue in assignment
make[3]: *** [zziptest.o] Error 1
To fix:
install the latest version of zziplib.0.13.49. It nicely fixed the above problem. It will be under zziplib-preview file name.
Note [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to compile and install zziplib in my server and i downloaded the version <a href="http://zziplib.sourceforge.net">zziplib-0.10.82</a> and it was giving me errors like</p>
<blockquote><p>../../bins/zziptest.c: In function &#8216;main&#8217;:<br />
../../bins/zziptest.c:76: error: invalid lvalue in assignment<br />
make[3]: *** [zziptest.o] Error 1</p></blockquote>
<p><strong>To fix:</strong></p>
<p>install the latest version of <a href="http://sourceforge.net/project/showfiles.php?group_id=6389&#038;package_id=35602">zziplib.0.13.49</a>. It nicely fixed the above problem. It will be under zziplib-preview file name.</p>
<blockquote><p>Note that zziplib requires zip and its header files, so before you compile and make it install zip package. <strong>yum install zip zip-devel</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/10/19/fix-ziplib-compile-error-with-zziptestc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Install suPHP in Linux</title>
		<link>http://corpocrat.com/2008/10/17/install-suphp/</link>
		<comments>http://corpocrat.com/2008/10/17/install-suphp/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 21:32:02 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/10/17/install-suphp/</guid>
		<description><![CDATA[How to install suPHP
By default apache runs as nobody (means anybody from inside same shared host can read your php files) and installing suphp makes php to run under the user account ownership. 777 permissions to folders can also be avoided.
NOTE:  suPHP needs PHP installed as CGI not as apache module.
Download suPHP from suphp.org
Then

tar [...]]]></description>
			<content:encoded><![CDATA[<h2>How to install suPHP</h2>
<p>By default apache runs as nobody (means anybody from inside same shared host can read your php files) and installing suphp makes php to run under the user account ownership. 777 permissions to folders can also be avoided.</p>
<p><strong>NOTE: </strong> suPHP needs PHP installed as CGI not as apache module.</p>
<p>Download suPHP from <a href="http://suphp.org">suphp.org</a></p>
<p>Then</p>
<blockquote><p>
tar zxf suphp-current.tar.gz<br />
./configure<br />
make<br />
make install</p></blockquote>
<p>If you get error like</p>
<blockquote><p>configure: error: APR is needed to build mod_suphp for Apache 2.x but was not found </p></blockquote>
<p>APR => Apache Portable Runtime </p>
<p>To fix:<br />
=========<br />
<code>yum install apr</code></p>
<p><code>./configure --with-apr=/usr/bin/apr-1-config</code></p>
<p>Once this is done you have to modify httpd.conf and </p>
<blockquote><p>LoadModule suphp_module modules/su_php.so</p></blockquote>
<p>Thats it and restart httpd</p>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/10/17/install-suphp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Transfer backup files from server to server in command line!</title>
		<link>http://corpocrat.com/2008/10/06/transfer-backup-files-from-server-to-server-in-command-line/</link>
		<comments>http://corpocrat.com/2008/10/06/transfer-backup-files-from-server-to-server-in-command-line/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 05:21:53 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/10/06/transfer-backup-files-from-server-to-server-in-command-line/</guid>
		<description><![CDATA[i have been struggling to find some way or another to transfer my file from one linux server to another using commandline. Before this i was just using cpanel to do backups.
Here is an easy way to accomplish transferring backup files from one server to another in linux. Just simple command using SCP (secure file [...]]]></description>
			<content:encoded><![CDATA[<p>i have been struggling to find some way or another to transfer my file from one linux server to another using commandline. Before this i was just using cpanel to do backups.</p>
<p>Here is an easy way to accomplish transferring backup files from one server to another in linux. Just simple command using SCP (secure file copy)</p>
<p><code>scp -C -P portnumber <em>local_filename</em> root@your.ip.address:<em>destination_file</em></code></p>
<p>Example:<br />
<code>scp -C -P 2929 backups.tar.gz root@IP.ADDRESS:/home/backups/</code></p>
<p>-C is compression to speed up transfer.<br />
-r is for recursive<br />
-P is your SSH port number (default ssh port 22)<br />
[If you are running SSH other than default port you will need to specify this]</p>
<p>NOTE:<br />
Dont forget that if you are running a firewall (CSF or APF) make sure that your unblock port in your EG_TCP_PORT (outbound TCP port) in your local host.</p>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/10/06/transfer-backup-files-from-server-to-server-in-command-line/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Colocation vs Dedicated Hosting - Whats the difference?</title>
		<link>http://corpocrat.com/2008/10/03/colocation-vs-dedicated-hosting-whats-the-difference/</link>
		<comments>http://corpocrat.com/2008/10/03/colocation-vs-dedicated-hosting-whats-the-difference/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 12:54:51 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Internet]]></category>

		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/10/03/colocation-vs-dedicated-hosting-whats-the-difference/</guid>
		<description><![CDATA[I have been long time confused about this simple two types of hosting and atlast i understood the difference between colocation and dedicated hosting.
Colocation 
You have to buy server equipment and the co-location service provider gives you all internet facilities in their location like internet connection, safety of your equipment, surveillence and more.. Further the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been long time confused about this simple two types of hosting and atlast i understood the difference between colocation and dedicated hosting.</p>
<h2>Colocation </h2>
<p>You have to buy server equipment and the co-location service provider gives you all internet facilities in their location like internet connection, safety of your equipment, surveillence and more.. Further the software and administration your responsibility. Simply put take your server hardware equipment from your home/office to your co-location providers office and fit it there. It is generally expensive!</p>
<h2>Dedicated </h2>
<p>You dont buy server hardware equipment, instead your webhost will give all necessary hardware for monthly rent. And ofcourse, it could be managed or unmanaged one depending on the costs.</p>
<p>Hope you now understood the difference between the two!</p>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/10/03/colocation-vs-dedicated-hosting-whats-the-difference/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sample DNS Zone File for BIND</title>
		<link>http://corpocrat.com/2008/09/29/sample-dns-zone-file-for-bind/</link>
		<comments>http://corpocrat.com/2008/09/29/sample-dns-zone-file-for-bind/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 19:56:14 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/09/29/sample-dns-zone-file-for-bind/</guid>
		<description><![CDATA[Sample Zone file for a domain with 2 nameservers ns1.example.com and ns2.example.com for BIND9. You can use this template to define your own nameservers. Just do changes on the domain name and IP addresses.
Be sure to include the below statement in your named.conf
I am assuming that you are running Bind9 or later version in your [...]]]></description>
			<content:encoded><![CDATA[<p>Sample Zone file for a domain with 2 nameservers ns1.example.com and ns2.example.com for BIND9. You can use this template to define your own nameservers. Just do changes on the domain name and IP addresses.</p>
<p>Be sure to include the below statement in your named.conf<br />
I am assuming that you are running Bind9 or later version in your VPS or dedicated server.</p>
<p><code>zone "example.com" {<br />
type master;<br />
file "example.com.db";<br />
}</code></p>
<pre name="code" class="sql">
$TTL 14400
$ORIGIN example.com.

; Specify the primary nameserver ns1.example.com in SOA
@ 14400 IN SOA ns1.example.com. webmaster.example.com. (
                                2008092902 ; Serial in YYYYMMDDXX (XX is increment)
                                10800; refresh seconds
                                3600; retry
                                604800; expire
                                38400; minimum
                                );
; Website IP Address specified in A record

       IN A 11.11.11.11

; TWO nameserver names

       IN NS ns1.example.com.
       IN NS ns2.example.com.

; Nameservers and their corresponding IPs

ns1  IN A 11.11.11.11
ns2  IN A 22.22.22.22

; Specify here any Aliases using CNAME record

www IN CNAME example.com.
ftp IN CNAME example.com.

; Set Mail Exchanger record with priority

mail IN MX 10 example.com.
</pre>
<p>How to test the DNS server?</p>
<p>Just goto the following sites, enter the domain name and you will see the test results.</p>
<p><a href="http://www.intodns.com">http://www.intodns.com</a> (free)<br />
<a href="http://www.pingability.com">http://www.pingability.com</a> (free)<br />
<a href="http://www.dnsstuff.com">http://www.dnsstuff.com</a> (paid)</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/09/29/sample-dns-zone-file-for-bind/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fast Website Loading with OpenDNS - Alternative to ISPs DNS Servers</title>
		<link>http://corpocrat.com/2008/09/29/fast-website-loading-with-opendns-alternative-to-isps-dns-servers/</link>
		<comments>http://corpocrat.com/2008/09/29/fast-website-loading-with-opendns-alternative-to-isps-dns-servers/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 10:53:42 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Internet]]></category>

		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/09/29/fast-website-loading-with-opendns-alternative-to-isps-dns-servers/</guid>
		<description><![CDATA[When you type a website name in the browser where often the sites dont load fast. You will see in the status bar of the browser &#8220;looking up website.com&#8221;, which often means the DNS server (resolves hostnames to IP address) is slow causing such a long time to connect to website  in your home [...]]]></description>
			<content:encoded><![CDATA[<p>When you type a website name in the browser where often the sites dont load fast. You will see in the status bar of the browser <strong>&#8220;looking up website.com&#8221;</strong>, which often means the DNS server (resolves hostnames to IP address) is slow causing such a long time to connect to website  in your home PC.</p>
<p>If your ISPs DNS server is down which often causes &#8220;connection timed out&#8221; or host unreachable and this problem may be for for hours until gets fixed by your ISP. Its significantly speeds up fast loading of website.</p>
<p>Alternative&#8230;.is go for other third party dns resolving service. Its not only fast and </p>
<p>Its <strong><a href="http://OpenDNS.com">OpenDNS.com</a></strong> Its free!</p>
<p>Just register get the
<ul><strong>two ip addresses</strong></ul>
<p> and you will need to enter that in your network settings.</p>
<p>Double click on your internet connection > Properties > TCP/IP Settings > Alternative DNS Servers</p>
<p>OR</p>
<p>Goto > Start > Control Panel > Network > Your ISP connection >  Properties > TCP/IP</p>
<p><a href='http://corpocrat.com/wp-content/uploads/2008/09/ispconn.PNG' title='ispconn.PNG'><img src='http://corpocrat.com/wp-content/uploads/2008/09/ispconn.PNG' alt='ispconn.PNG' /></a></p>
<p><a href='http://corpocrat.com/wp-content/uploads/2008/09/tcip.PNG' title='tcip.PNG'><img src='http://corpocrat.com/wp-content/uploads/2008/09/tcip.PNG' alt='tcip.PNG' /></a></p>
<p><a href='http://corpocrat.com/wp-content/uploads/2008/09/opendnss.PNG' title='opendnss.PNG'><img src='http://corpocrat.com/wp-content/uploads/2008/09/opendnss.PNG' alt='opendnss.PNG' /></a></p>
<p>Finally the advantage is&#8230;</p>
<p>- Speeds up loading of websites you surf!<br />
- You will be able to access websites when your ISPs DNS is down</p>
<p>I am using opendns and its way faster than my ISPs DNS service (BSNL dataone)</p>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/09/29/fast-website-loading-with-opendns-alternative-to-isps-dns-servers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>how to create new user for phpmyadmin login</title>
		<link>http://corpocrat.com/2008/09/28/how-to-create-new-user-for-phpmyadmin-login/</link>
		<comments>http://corpocrat.com/2008/09/28/how-to-create-new-user-for-phpmyadmin-login/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 10:57:31 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/09/28/how-to-create-new-user-for-phpmyadmin-login/</guid>
		<description><![CDATA[PHPMyAdmin and MySQL server complement each other very well. In most situations you have installed mysql server and phpmyadmin. 
By default the mysql root password is blank and this is a big security issue and you have change the mysql password as soon as possible. If that is not done anybody could login with phpmyadmin [...]]]></description>
			<content:encoded><![CDATA[<p>PHPMyAdmin and MySQL server complement each other very well. In most situations you have installed mysql server and phpmyadmin. </p>
<p>By default the mysql root password is blank and this is a big security issue and you have change the mysql password as soon as possible. If that is not done anybody could login with phpmyadmin with username root and password blank. You also must avoid to login phpmyadmin with mysql root password. Instead you must create a new user (to phpmyadmin) with same privileges as mysql root.</p>
<p><strong>First change the mysql root password</strong></p>
<p><code>mysql > update user set password=password('XXXXX') where user='root';<br />
Query OK, 3 rows affected (0.00 sec)<br />
Rows matched: 3  Changed: 3  Warnings: 0<br />
mysql > FLUSH PRIVILEGES;</code></p>
<p>Thats all! you have changed your mysql root password. All you have to do is login to phpmyadmin with username as root and password as new password.</p>
<p><strong>Create a new phpmyadmin user</strong></p>
<p>Now we will create a new administrator login (say sysadmin) for phpmyadmin which will have same privileges as mysql root.<br />
Its just one line command;</p>
<p><code>mysql> GRANT ALL ON *.* TO 'sysadmin'@'localhost' IDENTIFIED BY 'password';<br />
Query OK, 0 rows affected (0.00 sec)</code></p>
<p>then</p>
<p><code>mysql> FLUSH PRIVILEGES;<br />
Query OK, 0 rows affected (0.00 sec)</code></p>
<p>Now you can login to phpmyadmin as new administrator and avoid using root logins. You can create databases, change or insert or edit tables or do whatever you want!</p>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/09/28/how-to-create-new-user-for-phpmyadmin-login/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Fix: PHPMyAdmin 403 Forbidden Error</title>
		<link>http://corpocrat.com/2008/09/28/how-to-fix-phpmyadmin-403-forbidden-error/</link>
		<comments>http://corpocrat.com/2008/09/28/how-to-fix-phpmyadmin-403-forbidden-error/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 10:24:10 +0000</pubDate>
		<dc:creator>pbu</dc:creator>
		
		<category><![CDATA[Linux/Unix]]></category>

		<guid isPermaLink="false">http://corpocrat.com/2008/09/28/how-to-fix-phpmyadmin-403-forbidden-error/</guid>
		<description><![CDATA[If you have installed phpMyAdmin in your linux server (centos/RHEL/debian), and tried to access phpMyAdmin in most cases you will get this 403 forbidden error. I have seen this issue very often if you are installing phpmyadmin using yum or by apt-get. By default phpmyadmin installed path is /usr/share/phpmyadmin and the apache configuration file is [...]]]></description>
			<content:encoded><![CDATA[<p>If you have installed phpMyAdmin in your linux server (centos/RHEL/debian), and tried to access phpMyAdmin in most cases you will get this 403 forbidden error. I have seen this issue very often if you are installing phpmyadmin using yum or by apt-get. By default phpmyadmin installed path is <strong>/usr/share/phpmyadmin</strong> and the apache configuration file is located in <strong>/etc/httpd/conf.d/phpmyadmin.conf</strong>.</p>
<p><code>Forbidden<br />
You don't have permission to access /phpmyadmin/ on this server.</code></p>
<p><strong>To fix:</strong></p>
<p><code>nano /etc/httpd/conf.d/phpmyadmin.conf</code></p>
<p>Remove or comment the first two lines in bold.</p>
<p><code><Directory "/usr/share/phpmyadmin"><br />
  <strong>#Order Allow,Deny<br />
  #Deny from all</strong><br />
  Allow from 127.0.0.1<br />
</Directory></code></p>
<p>Restart the apache server.</p>
<p><code>service httpd restart</code></p>
<p>Once this is done, you should be able to see phpmyadmin working by pointing your browser to <strong>http://ipaddress/phpmyadmin</strong></p>
<p>This method worked for me and leave a comment here if there is an issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://corpocrat.com/2008/09/28/how-to-fix-phpmyadmin-403-forbidden-error/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
