<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>clicktx::Tech::Memo &#187; phpmyadmin</title>
	<atom:link href="http://perl.no-tubo.net/category/%e3%82%b5%e3%83%bc%e3%83%90%e7%ae%a1%e7%90%86/gui%e3%83%84%e3%83%bc%e3%83%ab/phpmyadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://perl.no-tubo.net</link>
	<description>perl、 MySQL、オープンソース系、ウェブ系ネタ。なぜか鯖管メモがほとんどを占めている...</description>
	<lastBuildDate>Wed, 08 Feb 2012 00:06:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://perl.no-tubo.net/category/%e3%82%b5%e3%83%bc%e3%83%90%e7%ae%a1%e7%90%86/gui%e3%83%84%e3%83%bc%e3%83%ab/phpmyadmin/feed/" />
		<item>
		<title>CentOS4.8へphpmyadminをインストール</title>
		<link>http://perl.no-tubo.net/2009/09/28/centos4-8%e3%81%b8phpmyadmin%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://perl.no-tubo.net/2009/09/28/centos4-8%e3%81%b8phpmyadmin%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 08:54:50 +0000</pubDate>
		<dc:creator>clicktx</dc:creator>
				<category><![CDATA[CentOS4.x]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://pet.no-tubo.net/?p=162</guid>
		<description><![CDATA[(1)phpmyadminインストール
yum install phpmyadmin
/usr/share/phpmyadmin にインストールされる。
/usr/share/phpmyadmin/config.inc. [...]]]></description>
			<content:encoded><![CDATA[<p>(1)phpmyadminインストール</p>
<blockquote><p>yum install phpmyadmin</p></blockquote>
<p>/usr/share/phpmyadmin にインストールされる。<br />
/usr/share/phpmyadmin/config.inc.phpを編集<br />
$cfg['blowfish_secret']を設定。</p>
<blockquote><p>vi /usr/share/phpmyadmin/config.inc.php</p>
<p>/*<br />
* This is needed for cookie based authentication to encrypt password in<br />
* cookie<br />
*/<br />
$cfg['blowfish_secret'] = &#8216;<span style="color: #ff0000;">*************</span>&#8216;; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */</p></blockquote>
<p>(2)「mcrypt 拡張をロードできません。PHP の設定を確認してください」というエラーへの対処。<br />
以下は yum でインストール出来る（2010-05-31修正）</p>
<pre># yum --enablerepo=centosplus install php-mcrypt</pre>
<p>* centosplusレポジトリのインストールが必要</p>
<blockquote><p>yum -y install php-mbstring</p></blockquote>
<p>※phpでマルチバイト処理をするには「php-mbstring」が必要<br />
phpのバージョンを調べる</p>
<blockquote><p># php -v</p>
<p>PHP 4.3.9 (cgi) (built: Jun 1 2009 14:58:08)<br />
Copyright (c) 1997-2004 The PHP Group<br />
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies</p></blockquote>
<p>php-mcrypt　を <a href="http://rpm.pbone.net/">http://rpm.pbone.net/</a> で探す。<br />
キーワード「php-mcrypt」RedHat EL 4 にチェックを入れサーチ。</p>
<p>RedHat EL 4 ftp.sourceforge.net/pub/sourceforge/p/project/ph/phprpms/RHEL4 PHP RPMs/4.3.9-3.2/php-mcrypt-4.3.9-3.2.1.i386.rpm<br />
<a href="http://rpm.pbone.net/index.php3/stat/4/idpl/12753489/com/php-mcrypt-4.3.9-3.2.1.i386.rpm.html"> http://rpm.pbone.net/index.php3/stat/4/idpl/12753489/com/php-mcrypt-4.3.9-3.2.1.i386.rpm.html</a></p>
<p>ダウンロード＆インストール</p>
<blockquote><p># wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/p/project/ph/phprpms/RHEL4%20PHP%20RPMs/4.3.9-3.2/php-mcrypt-4.3.9-3.2.1.i386.rpm</p>
<p>rpm -ivh php-mcrypt-4.3.9-3.2.1.i386.rpm</p></blockquote>
<p>(3)Apacheの設定。<br />
※デフォルトではローカルからしか接続出来ない。<br />
/etc/httpd/conf.d/phpmyadmin.conf が作成されるので適時修正。</p>
<blockquote><p>vi /etc/httpd/conf.d/phpmyadmin.conf</p>
<p>#<br />
#  Web application to manage MySQL<br />
#</p>
<p>Order Deny,Allow<br />
Deny from all<br />
Allow from 127.0.0.1<br />
Allow from all  ←追加</p>
<p>Alias /phpmyadmin /usr/share/phpmyadmin<br />
Alias /phpMyAdmin /usr/share/phpmyadmin<br />
Alias /mysqladmin /usr/share/phpmyadmin</p></blockquote>
<p>Apache再起動。</p>
<p>http://xxxx.xx.xx/phpmyadmin/で確認。</p>
<p>※上記設定だと誰でもアクセス可能なので後で直す事。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2009/09/28/centos4-8%e3%81%b8phpmyadmin%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://perl.no-tubo.net/2009/09/28/centos4-8%e3%81%b8phpmyadmin%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" />
	</item>
		<item>
		<title>CentOS 5.3 へPHP5.30をyumでインストール</title>
		<link>http://perl.no-tubo.net/2009/09/19/centos-5-3-%e3%81%b8php5-30%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://perl.no-tubo.net/2009/09/19/centos-5-3-%e3%81%b8php5-30%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 09:05:31 +0000</pubDate>
		<dc:creator>clicktx</dc:creator>
				<category><![CDATA[CentOS5.x]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[サーバ管理]]></category>

		<guid isPermaLink="false">http://pet.no-tubo.net/?p=167</guid>
		<description><![CDATA[phpmyadmin3.2xxでphp5.2以上が必要なのでインストール。CentOS5.3のデフォルトだとphp5.16がインストールされる。
こちらの手順にてhttp://centoshome.seesaa.net/ [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-top: 10px; margin-right: 12px; margin-bottom: 10px; margin-left: 12px; font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #444444; line-height: 1.4; padding: 0px;">phpmyadmin3.2xxでphp5.2以上が必要なのでインストール。<br style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #111111; padding: 0px; margin: 0px;" />CentOS5.3のデフォルトだとphp5.16がインストールされる。</p>
<p style="margin-top: 10px; margin-right: 12px; margin-bottom: 10px; margin-left: 12px; font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #444444; line-height: 1.4; padding: 0px;">こちらの手順にて<br style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #111111; padding: 0px; margin: 0px;" /><a style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #333333; text-decoration: underline; padding: 0px; margin: 0px;" href="http://centoshome.seesaa.net/article/117329591.html" target="_blank">http://centoshome.seesaa.net/article/117329591.html</a></p>
<p style="margin-top: 10px; margin-right: 12px; margin-bottom: 10px; margin-left: 12px; font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #444444; line-height: 1.4; padding: 0px;">
<p style="margin-top: 10px; margin-right: 12px; margin-bottom: 10px; margin-left: 12px; font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #444444; line-height: 1.4; padding: 0px;">確認<br style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #111111; padding: 0px; margin: 0px;" /></p>
<blockquote>
<p style="margin-top: 10px; margin-right: 12px; margin-bottom: 10px; margin-left: 12px; font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #444444; line-height: 1.4; padding: 0px;"># php -v<br style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #111111; padding: 0px; margin: 0px;" />PHP 5.3.0 (cli) (built: Jul 19 2009 17:55:08) <br style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #111111; padding: 0px; margin: 0px;" />Copyright (c) 1997-2009 The PHP Group<br style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #111111; padding: 0px; margin: 0px;" />Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2009/09/19/centos-5-3-%e3%81%b8php5-30%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://perl.no-tubo.net/2009/09/19/centos-5-3-%e3%81%b8php5-30%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" />
	</item>
		<item>
		<title>PhpMyAdminの導入</title>
		<link>http://perl.no-tubo.net/2009/02/17/phpmyadmin%e3%81%ae%e5%b0%8e%e5%85%a5/</link>
		<comments>http://perl.no-tubo.net/2009/02/17/phpmyadmin%e3%81%ae%e5%b0%8e%e5%85%a5/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 07:53:13 +0000</pubDate>
		<dc:creator>clicktx</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://pet.no-tubo.net/?p=112</guid>
		<description><![CDATA[phpmyadminインストール
yum install phpmyadmin
/usr/share/phpmyadmin にインストールされる。
/usr/share/phpmyadmin/config.inc.php [...]]]></description>
			<content:encoded><![CDATA[<p>phpmyadminインストール</p>
<blockquote><p>yum install phpmyadmin</p></blockquote>
<p>/usr/share/phpmyadmin にインストールされる。<br />
/usr/share/phpmyadmin/config.inc.phpを編集<br />
$cfg['blowfish_secret']を設定。</p>
<blockquote><p>/*<br />
* This is needed for cookie based authentication to encrypt password in<br />
* cookie<br />
*/<br />
$cfg['blowfish_secret'] = &#8216;*************&#8217;; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */</p></blockquote>
<p>「mcrypt 拡張をロードできません。PHP の設定を確認してください」というエラーが出たのでインストール。</p>
<blockquote><p>yum -y install php-mbstring<br />
yum -y install php-mcrypt</p></blockquote>
<p>phpでマルチバイト処理をするには「php-mbstring」が必要.<br />
CentOS5だと上記でよいが、CentOS4だとインストールされない。</p>
<p>CentOS4での手順<br />
１．mcryptを組み込むのに必要なlibmcryptをrpmforgeからインストールします。</p>
<blockquote><p># yum -y &#8211;enablerepo=rpmforge install libmcrypt-devel</p></blockquote>
<p>２．php用のmcrypt拡張モジュールをPHPRPMsよりダウンロードします。</p>
<blockquote><p># cd /usr/src/redhat/RPMS/i386/<br />
# wget http://jaist.dl.sourceforge.net/sourceforge/phprpms/php-mcrypt-4.3.9-3.2.1.i386.rpm</p></blockquote>
<p>最新版は <a style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #ff6699; text-decoration: underline; padding: 0px; margin: 0px;" href="http://phprpms.sourceforge.net/mcrypt" target="_blank">http://phprpms.sourceforge.net/mcrypt</a> で確認して下さい。<br />
CentOSはRHEL互換なのでRHEL4の物を落としました。<br />
X86_64で無いならばi386で問題ありません。</p>
<p>３．ダウンロードしたrpmをインストールします。</p>
<blockquote><p># rpm -Uvh php-mcrypt-4.3.9-3.2.1.i386.rpm</p></blockquote>
<p>参考： <a style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #333333; text-decoration: underline; padding: 0px; margin: 0px;" href="http://centossrv.com/bbshtml/webpatio/364.shtml" target="_blank">http://centossrv.com/bbshtml/webpatio/364.shtml</a></p>
<p>・・・が、<a style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #333333; text-decoration: underline; padding: 0px; margin: 0px;" href="http://phprpms.sourceforge.net/mcrypt" target="_blank">http://phprpms.sourceforge.net/mcrypt</a>は現在無い&#8230;。<br />
しょうがないので、<a style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #ff6699; text-decoration: underline; padding: 0px; margin: 0px;" href="http://rpm.pbone.net/" target="_blank">http://rpm.pbone.net/</a>で探す。<br />
キーワード「php-mcrypt」CentOS 4 とRedHat EL 4 にチェックを入れサーチ。</p>
<blockquote><p># php -v</p></blockquote>
<p>でPHP 4.3.9dだったので、<br />
RedHat EL 4 ftp.sourceforge.net/pub/sourceforge/p/project/ph/phprpms/RHEL4 PHP RPMs/4.3.9-3.2/php-mcrypt-4.3.9-3.2.1.i386.rpm<br />
<a style="font-size: 13px; font-weight: normal; font-style: normal; font-family: Verdana, 'ヒラギノ角ゴ Pro W3', 'ＭＳ ゴシック', Osaka‐等幅; text-align: left; color: #333333; text-decoration: underline; padding: 0px; margin: 0px;" href="http://rpm.pbone.net/index.php3/stat/4/idpl/12753489/com/php-mcrypt-4.3.9-3.2.1.i386.rpm.html" target="_blank">http://rpm.pbone.net/index.php3/stat/4/idpl/12753489/com/php-mcrypt-4.3.9-3.2.1.i386.rpm.html</a></p>
<p>が、見つかったのでこれを使ってみる。</p>
<blockquote><p># wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/p/project/ph/phprpms/RHEL4%20PHP%20RPMs/4.3.9-3.2/php-mcrypt-4.3.9-3.2.1.i386.rpm</p>
<p>rpm -ivh php-mcrypt-4.3.9-3.2.1.i386.rpm</p></blockquote>
<p>成功した。</p>
<p>Apacheの設定。<br />
/etc/httpd/conf.d/phpmyadmin.conf が作成されるので適時修正。<br />
Apache再起動。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2009/02/17/phpmyadmin%e3%81%ae%e5%b0%8e%e5%85%a5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://perl.no-tubo.net/2009/02/17/phpmyadmin%e3%81%ae%e5%b0%8e%e5%85%a5/" />
	</item>
	</channel>
</rss>

