<?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>33dots &#187; phpmyadmin.conf</title>
	<atom:link href="http://www.33dots.com/index.php/tag/phpmyadmin-conf/feed" rel="self" type="application/rss+xml" />
	<link>http://www.33dots.com</link>
	<description></description>
	<lastBuildDate>Thu, 09 Sep 2010 05:19:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing phpMyAdmin in my Cent OS 5.3</title>
		<link>http://www.33dots.com/index.php/linux/installing-phpmyadmin-in-cent-os-5-3.html</link>
		<comments>http://www.33dots.com/index.php/linux/installing-phpmyadmin-in-cent-os-5-3.html#comments</comments>
		<pubDate>Fri, 04 Sep 2009 17:21:19 +0000</pubDate>
		<dc:creator>tony</dc:creator>
				<category><![CDATA[Cent OS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cent os 5]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[phpmyadmin in RHEL 5.3]]></category>
		<category><![CDATA[phpmyadmin.conf]]></category>

		<guid isPermaLink="false">http://www.33dots.com/?p=226</guid>
		<description><![CDATA[I did this by yum, which i think is the easiest way.
[root@localhost ~]# yum install phpmyadmin
This will install it in /usr/share/phpmyadmin 
Now, configure it by editing config.inc.php
[root@localhost html]# gedit /usr/share/phpmyadmin/config.inc.php 
add the blowfish secret,
$cfg['blowfish_secret'] = 'a8b7dafdferHJHJ^&#038;U^45776TIUuiYc6d';
and i also changed to mysqli in,
$cfg['Servers'][$i]['extension'] = 'mysqli';
Now you could access the phpMyAdmin by,
http://127.0.0.1/phpmyadmin/
This is possible because an alias [...]]]></description>
			<content:encoded><![CDATA[<p>I did this by <em>yum</em>, which i think is the easiest way.</p>
<pre>[root@localhost ~]# yum install phpmyadmin</pre>
<p>This will install it in <em>/usr/share/phpmyadmin</em> </p>
<p>Now, configure it by editing <em>config.inc.php</em></p>
<pre>[root@localhost html]# gedit /usr/share/phpmyadmin/config.inc.php </pre>
<p>add the blowfish secret,<br />
<code>$cfg['blowfish_secret'] = 'a8b7dafdferHJHJ^&#038;U^45776TIUuiYc6d';</code></p>
<p>and i also changed to <em>mysqli</em> in,<br />
<code>$cfg['Servers'][$i]['extension'] = 'mysqli';</code></p>
<p>Now you could access the phpMyAdmin by,<br />
<code>http://127.0.0.1/phpmyadmin/</code></p>
<p>This is possible because an <em>alias</em> is created for apache to the directory where phpMyAdmin in installed [ie <em>/usr/share/phpmyadmin</em>]. This is done in the file,</p>
<pre>[tony@localhost ~]$ gedit /etc/httpd/conf.d/phpmyadmin.conf</pre>
<p>You will see a lines like,<br />
<code>Alias /phpmyadmin /usr/share/phpmyadmin<br />
Alias /phpMyAdmin /usr/share/phpmyadmin<br />
Alias /mysqladmin /usr/share/phpmyadmin<br />
</code></p>
<p>&#8212;&#8212;&#8212;&#8212;-</p>
<p>You could also install phpMyAdmin manually by downloading <a title="phpMyAdming download site" href="http://www.phpmyadmin.net/home_page/downloads.php">phpMyAdmin</a>.<br />
Make sure you download the version 2.xx and not 3.xx[requires PHP 5.2] as Cent OS 5.3 has only PHP 5.1 by default</p>
<p>Extract the <em>tar.gz</em> file to your desktop.</p>
<p>Copy it to <em>/var/www/html/phpmyadmin</em> as root,</p>
<pre>[root@localhost ~]# mv /home/tony/Desktop/phpMyAdmin-3.2.1-all-languages /var/www/html/phpmyadmin</pre>
<p>Give the appropriate permission for apache,<br />
Set owner as apache</p>
<pre>[root@localhost html]# chown apache -R /var/www/html/phpmyadmin/</pre>
<p>Set the group owner as your user, this is good as you can edit the files easily,</p>
<pre>[root@localhost html]# chgrp tony -R /var/www/html/phpmyadmin/</pre>
<p>Now give group user the write permission</p>
<pre>[root@localhost html]# chmod g+w -R /var/www/html/phpmyadmin/</pre>
<p>Now, add the <em>blowfish secret</em> and <em>mysqli</em> extension as above, </p>
<p>Thats all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.33dots.com/index.php/linux/installing-phpmyadmin-in-cent-os-5-3.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
