<?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>INTERESTIC NEWS &#187; 環境づくり</title>
	<atom:link href="http://news.interestic.com/category/develop/feed" rel="self" type="application/rss+xml" />
	<link>http://news.interestic.com</link>
	<description>NEWSかOLDSをお届け。</description>
	<lastBuildDate>Mon, 16 Feb 2009 16:56:31 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://news.interestic.com/category/develop/feed" />
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>PostgreSQLのインストール</title>
		<link>http://news.interestic.com/2007/05/05/develop/302.html</link>
		<comments>http://news.interestic.com/2007/05/05/develop/302.html#comments</comments>
		<pubDate>Sat, 05 May 2007 06:16:50 +0000</pubDate>
		<dc:creator>Do9IIgane</dc:creator>
				<category><![CDATA[環境づくり]]></category>

		<guid isPermaLink="false">http://news.interestic.com/2007/05/05/none/302.html</guid>
		<description><![CDATA[PostgreSQLのインストールを行います。 PostgreSQLは現行(May 05, 2007)[7.3.ｘ系]と[7.4.ｘ系][8.0.ｘ系][8.1.ｘ系][8.2.ｘ系]が存在しているようです。 現在利用し [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>PostgreSQLのインストールを行います。</p>
<p>PostgreSQLは現行(May 05, 2007)[7.3.ｘ系]と[7.4.ｘ系][8.0.ｘ系][8.1.ｘ系][8.2.ｘ系]が存在しているようです。<br />
現在利用しているレンタルサーバの環境が8.1.x系なので、今回は8.1.ｘをインストールする事にしました。<br />
<a id="more-302"></a></p>
<ol>
<li>以下PostgreSQLの本家よりインストーラ・パッケージをダウンロードします。<br />
<a href="http://www.postgresql.jp/" target="blank">http://www.postgresql.jp</a><br />
downloadから行います。</li>
<li>download後、インストーラを起動すると<br />
以下のようなインストール・ウィザードが表示されます<br />
<a href="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql001.php" onclick="window.open('http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql001.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql001-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>規約をしっかり読んでみます<br />
読み終わったら[次へ(N)]を押下です。<br />
<a href="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql002.php" onclick="window.open('http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql002.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql002-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>以下保存ディレクトリとファイル郡の選択です。<br />
変更がなければそのまま[次へ(N)]を押下です。<br />
<a href="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql003.php" onclick="window.open('http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql003.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql003-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>以下実行するユーザーを設定します。<br />
通常表示どおりで設定可能なようですが 、Passwordを一応設定しておきます。<br />
任意で設定後、[次へ(N)]を押下です。<br />
<a href="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql004.php" onclick="window.open('http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql004.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql004-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>管理者ユーザ等々を設定します。<br />
問題がなければ[次へ(N)]を押下です。<br />
<a href="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql005.php" onclick="window.open('http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql005.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql005-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>installの準備が出来たので[次へ(N)]を押下です。<br />
<a href="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql006.php" onclick="window.open('http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql006.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql006-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>install中<br />
<a href="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql007.php" onclick="window.open('http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql007.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql007-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>コーヒーでも入れましょう。<br />
<a href="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql008.php" onclick="window.open('http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql008.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql008-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>こうなれば完了です。お疲れ様でした。<br />
<a href="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql009.php" onclick="window.open('http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql009.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/05/05/PostgreSQL/postgresql009-thumb.jpg" width="300" height="230" alt="" /></a></li>
</ol>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://news.interestic.com/2007/05/05/develop/302.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://news.interestic.com/2007/05/05/develop/302.html" />
	</item>
		<item>
		<title>phpMyAdminのインストール</title>
		<link>http://news.interestic.com/2007/03/25/develop/299.html</link>
		<comments>http://news.interestic.com/2007/03/25/develop/299.html#comments</comments>
		<pubDate>Sat, 24 Mar 2007 16:17:18 +0000</pubDate>
		<dc:creator>Do9IIgane</dc:creator>
				<category><![CDATA[環境づくり]]></category>

		<guid isPermaLink="false">http://news.interestic.com/2007/03/25/none/299.html</guid>
		<description><![CDATA[phpMyAdminはSQLをブラウザベースで操作可能にしたPHPアプリケーションの一つです。 比較的とっつき易く、僕でも操作が簡単に出来る事から、SQLの勉強も兼ねてローカル環境に設置してみたいと思います。 とはいいつ [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>phpMyAdminはSQLをブラウザベースで操作可能にしたPHPアプリケーションの一つです。<br />
比較的とっつき易く、僕でも操作が簡単に出来る事から、SQLの勉強も兼ねてローカル環境に設置してみたいと思います。<br />
<a id="more-299"></a><br />
とはいいつつも現時点の最新版(2007/03/25)[phpMyAdmin-2.10.0.2]<br />
※ダウンロードは<a href="http://www.phpmyadmin.net/home_page/downloads.php" target="blank">コチラ</a>では<br />
含まれる[config.sample.inc.php]を[config.inc.php]にリネームし、<br />
以下の行を編集するだけで利用が可能なようです。</p>
<div class="code">$cfg['blowfish_secret'] = &#8216;#ここに任意のクッキー#&#8217;;
</div>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://news.interestic.com/2007/03/25/develop/299.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://news.interestic.com/2007/03/25/develop/299.html" />
	</item>
		<item>
		<title>MySQLのインストール</title>
		<link>http://news.interestic.com/2007/03/24/develop/298.html</link>
		<comments>http://news.interestic.com/2007/03/24/develop/298.html#comments</comments>
		<pubDate>Sat, 24 Mar 2007 06:39:20 +0000</pubDate>
		<dc:creator>Do9IIgane</dc:creator>
				<category><![CDATA[環境づくり]]></category>

		<guid isPermaLink="false">http://news.interestic.com/2007/03/24/none/298.html</guid>
		<description><![CDATA[MySQLのインストールを行います。 MySQLは現行(July 13, 2007)[4.0.ｘ系]と[4.0.ｘ系][5.0.ｘ系][5.1.ｘ系][6.0.ｘ系]が存在しているようです。 現在利用しているレンタルサー [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>MySQLのインストールを行います。</p>
<p>MySQLは現行(July 13, 2007)[4.0.ｘ系]と[4.0.ｘ系][5.0.ｘ系][5.1.ｘ系][6.0.ｘ系]が存在しているようです。<br />
現在利用しているレンタルサーバの環境が5.1.x系なので、今回は5.1.ｘをインストールする事にしました。<br />
<a id="more-298"></a></p>
<ol>
<li>以下MySQLの本家よりインストーラ・パッケージをダウンロードします。<br />
<a href="http://www.mysql.com/" target="blank">http://www.mysql.com/</a><br />
downloadから行います。</li>
<li>download後、インストーラを起動すると<br />
以下のようなインストール・ウィザードが表示されます<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql001.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql001.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql001-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>ここでは[Typical]を選択して[NEXT]<br />
インストール先ディレクトリを変更する場合は[Custom]を選択し<br />
適宜変更して下さい<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql002.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql002.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql002-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>以下の画面で「Install」を押下<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql003.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql003.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql003-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>ファイルのコピー中です<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql004.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql004.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql004-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>MySQL.comへサインアップするかどうか聞かれます。まだアカウントを作成するほどではないので、とりあえずサインアップをスキップしています<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql005.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql005.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql005-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>MySQLの設定を続けて行う為、[Configure the MySQL server now]にチェックを入れた状態で<br />
[Finish]です<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql006.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql006.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql006-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>MySQL設定ウィザードが表示されたので、[NEXT > ]を押下です<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql007.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql007.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql007-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>以下の画面で「Next」ボタンを押下します<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql008.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql008.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql008-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>今回はローカル環境で動作させるので[Developer Machine]を選択しました。実際にサーバを運用し、利用する際は[Server Machine]を選択するとメモリを多く割る振るようです。<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql009.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql009.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql009-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>ここではMySQLの利用するバックエンド・データベースを指定するのですが、以下のようにすると色々なバックエンド・データベースを利用できるという言葉を鵜呑みにし、そうしています。<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql010.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql010.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql010-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>DBのデータ保存先を設定します<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql011.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql011.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql011-thumb.jpg" width="300" height="230" alt="" /></a><br />
こんな風にしてみたり<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql012.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql012.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql012-thumb.jpg" width="300" height="230" alt="" /></a></li>
<p>同時接続数を指定します。ローカル環境で利用する為<br />
「Decision Support」を選択しました<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql013.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql013.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql013-thumb.jpg" width="300" height="230" alt="" /></a></p>
<li>ネットワーク接続を許可するかを指定します。なんとなく、このまま。理由は特にありません<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql014.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql014.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql014-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>デフォルトの文字コードを設定します。<br />
利用しているサーバはutf8なので、選択後[Next]<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql015.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql015.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql015-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>MySQLをサービスとしてインストールするかを指定します。サービスとしてインストールします。<br />
また、下のチェックはPATHを設定するかを指定するようで、便利かなと思ってチェックします。<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql016.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql016.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql016-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>MySQLのrootパスワードを設定します。任意で入力します<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql017.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql017.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql017-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>を。確認？だと思います<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql018.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql018.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql018-thumb.jpg" width="300" height="230" alt="" /></a></li>
<li>こうなれば完了。<br />
<a href="http://interestic.com/archive/2007/03/24/MySQL/mysql019.php" onclick="window.open('http://interestic.com/archive/2007/03/24/MySQL/mysql019.php','popup','width=504,height=386,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/03/24/MySQL/mysql019-thumb.jpg" width="300" height="230" alt="" /></a></li>
</ol>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://news.interestic.com/2007/03/24/develop/298.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://news.interestic.com/2007/03/24/develop/298.html" />
	</item>
		<item>
		<title>PHPのインストール</title>
		<link>http://news.interestic.com/2007/03/19/develop/297.html</link>
		<comments>http://news.interestic.com/2007/03/19/develop/297.html#comments</comments>
		<pubDate>Mon, 19 Mar 2007 13:57:34 +0000</pubDate>
		<dc:creator>Do9IIgane</dc:creator>
				<category><![CDATA[環境づくり]]></category>

		<guid isPermaLink="false">http://news.interestic.com/2007/03/19/none/297.html</guid>
		<description><![CDATA[PHPのインストールを行います。 PHPは現行(March 19, 2007)[4.x.x系]と[5.x.x系]が存在しているようです。 現在利用しているレンタルサーバの環境が5.x.x系なので、 今回は5.x.ｘをイン [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>PHPのインストールを行います。<br />
PHPは現行(March 19, 2007)[4.x.x系]と[5.x.x系]が存在しているようです。<br />
現在利用しているレンタルサーバの環境が5.x.x系なので、<br />
今回は5.x.ｘをインストールする事にしました。<br />
<a id="more-297"></a></p>
<ol>
<li>ダウンロードは以下PHPの本家より行います。<br />
<a href="http://www.php.net/" target="blank">http://www.php.net/</a><br />
ページ上部の[downloads]から[PHP 5.2.1 zip package]をダウンロードしました。</li>
<li>インストールを行うドライブにというフォルダを作成します。<br />
ディレクトリ的には「C:\php」こんな感じです。(任意で変更可)</li>
<li>ダウンロードしたファイルを解凍します。解凍後、<br />
「C:\php」にすべてのファイルを移動しました。<br />
ディレクトリ的には「C:\php\php.exe」こんな感じです。<br />
※なんとなく移動元のフォルダは削除します。</li>
<li>「C:\php\php.ini-recommended」というファイルを<br />
windowsディレクトリ(C:\Windows)へコピーし、<br />
ファイル名をphp.iniに変更します</li>
<li>「C:\php\php5ts.dll」をSystemディレクトリ(C:\WINNT\system32 or C:\windows\system32 または C:\windows\system)へコピー</li>
<li>「C:\php\libmysql.dll」をSystemディレクトリ(C:\WINNT\system32 or C:\windows\system32 または C:\windows\system)へコピー</li>
</ol>
<p>PHPの設定はwindowsディレクトリにコピーしたphp.iniをエディタで編集して行うようです。以下の行を変更しました。コメントになっているは「;」を外し、有効にしておきます。なにかと文字コードはUTF-8が好きなので、そんな仕様に変更しています。</p>
<div class="code">
<pre>
※output_bufferingはOnや4096などの
サイズを指定しても良いそうです。
output_buffering = Off

; 「On」を「Off」へ変更しました
magic_quotes_gpc = Off

; 変更部分
default_charset = "UTF-8"

; 変更部分
extension_dir = "C:/php/ext"

; コメントを外した部分
extension=php_mbstring.dll
extension=php_mysql.dll

;コメントアウト＆変更した部分
※ ここは初期値でコメントになっているので注意。
mbstring.language = Japanese
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.http_output = UTF-8
mbstring.encoding_translation = On
mbstring.detect_order = auto
mbstring.substitute_character = none
</pre>
</div>
<p>Apacheで動かしたいと考えているので以下のように設定を変更します。<br />
変更するファイルは[C:\Program Files\Apache Group\Apache\conf\httpd.conf]です。</p>
<div class="code">
<pre>
# 「DirectoryIndex」に「index.php」を追加
DirectoryIndex index.html index.htm index.cgi index.php

# 「LoadModule xxx」がたくさん書かれている所の最後に以下の行を追加
LoadModule php5_module "C:/php/php5apache.dll"

# 「AddModule xxx」がたくさん書かれている所の最後に以下の行を追加
AddModule mod_php5.c

# 「AddType xxx」がたくさん書かれているあたりに以下の行を追加
ScriptAlias /php/ "c:/php/"
Action application/x-httpd-php php-cgi.exe
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</pre>
</div>
<p>編集を完了し、サービスからApacheを再起動します。<br />
※windows XP Professional</p>
<ol>
<li>マイコンピュータを右クリックして[管理]を押下</li>
<li>[サービスとアプリケーション]からサービスを選択</li>
<li>[Apache]を選択し[サービスの再起動]を選択</li>
</ol>
<p> &lt;?php phpinfo() ?&gt; とだけ記載した[info.php]というファイルを作成し、<br />
[\Apache\htdocs\info.php]みたいなディレクトリに保存します。</p>
<p>http://localhost/info.php</p>
<p>phpの動作環境が表示されました。</p>
<p>インストール完了です。</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://news.interestic.com/2007/03/19/develop/297.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://news.interestic.com/2007/03/19/develop/297.html" />
	</item>
		<item>
		<title>Apache のインストール</title>
		<link>http://news.interestic.com/2007/02/10/develop/285.html</link>
		<comments>http://news.interestic.com/2007/02/10/develop/285.html#comments</comments>
		<pubDate>Fri, 09 Feb 2007 16:08:50 +0000</pubDate>
		<dc:creator>Do9IIgane</dc:creator>
				<category><![CDATA[環境づくり]]></category>

		<guid isPermaLink="false">http://news.interestic.com/2007/02/10/none/285.html</guid>
		<description><![CDATA[Windows環境では、何よりも&#8221;Apache&#8221;が必要です と記載されていたことから、素直に『Apache』をインストールします。 現在利用しているサーバとの環境に出来るだけ近くなるように[Apa [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<blockquote><p>Windows環境では、何よりも&#8221;Apache&#8221;が必要です</p></blockquote>
<p>と記載されていたことから、素直に『Apache』をインストールします。<br />
<a id="more-285"></a><br />
現在利用しているサーバとの環境に出来るだけ近くなるように[Apache 1.3.37]をインストールしてみたいと思います。</p>
<p>現在(March 17, 2007)Apache本家の<a href="http://httpd.apache.org/download.cgi" target="blank">ダウンロードページ</a>にはApache 1.3.37のwin installerが一筋縄でダウンロード出来ない為、<a href="http://archive.apache.org/dist/httpd/binaries/win32/" target="blank">アーカイブページ</a>からダウンロードします。</p>
<ol>
<li>ダウンロード完了後インストール</li>
<li>インストーラ起動中・・。<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache001.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache001.php','popup','width=449,height=145,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache001-thumb.jpg" width="300" height="97" alt="" /></a></li>
<li>現在の構成を確認中・・。非常にサイケです。<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache002.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache002.php','popup','width=500,height=380,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache002-thumb.jpg" width="300" height="228" alt="" /></a></li>
<li>インストール開始です。[NEXT>>]を押下<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache003.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache003.php','popup','width=500,height=380,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache003-thumb.jpg" width="300" height="228" alt="" /></a></li>
<li>規約を読んだフリでもします。少しでも英語に慣れようと思います。<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache004.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache004.php','popup','width=500,height=380,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache004-thumb.jpg" width="300" height="228" alt="" /></a></li>
<li>Apacheについて知った顔をする為に、これも読んだフリ。<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache005.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache005.php','popup','width=500,height=380,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache005-thumb.jpg" width="300" height="228" alt="" /></a></li>
<li>設定はここからです。<br />
[Network Domain] &#8211; ここにはネームサーバに登録されたドメインを入力します。開発等ローカル環境で動かす場合は[Localhost]と入力します。<br />
[Server Name] &#8211; こちらは実際に運用を開始した際のディレクトリを指定します。開発等ローカル環境で動かす場合は[Localhost]と入力します。<br />
[Administrator's Email Address] &#8211; こちらは普段自分が利用しているメールアドレスを入力してください。<br />
[Install Apache HTTP Server 2.2 programs and shortcuts for:]これは実際に運用する際、どのポートを利用し、インターネットに公開するかという設定です。開発等ローカル環境で動かす場合はどちらに指定してもかまいませんが、80のほうがブラウザで動作確認をする際、便利です。<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache006.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache006.php','popup','width=500,height=380,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache006-thumb.jpg" width="300" height="228" alt="" /></a></li>
<li>ここではインストール方法の選択を行います。特定のモジュールのみのインストール等を行わない限りは[complete]がいいと思います。<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache007.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache007.php','popup','width=500,height=380,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache007-thumb.jpg" width="300" height="228" alt="" /></a></li>
<li>特に変更がない場合は、そのまま進みます。<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache008.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache008.php','popup','width=500,height=380,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache008-thumb.jpg" width="300" height="228" alt="" /></a></li>
<li>ファイルをコピー中<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache009.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache009.php','popup','width=500,height=380,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache009-thumb.jpg" width="300" height="228" alt="" /></a></li>
<li>インストール完了です。<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache010.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache010.php','popup','width=500,height=380,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache009-thumb.jpg" width="300" height="228" alt="" /></a></li>
</ol>
<p>こんなかんじです。</p>
<p>動作確認してみます。ブラウザを起動して http://localhost/ を見てみます。「あなたの予想に反して、このページが見えているでしょうか?」というページが表示されればインストールは正常です。<br />
<a href="http://interestic.com/archive/2007/02/10/Apache/Apache011.php" onclick="window.open('http://interestic.com/archive/2007/02/10/Apache/Apache011.php','popup','width=649,height=592,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://interestic.com/archive/2007/02/10/Apache/Apache011-thumb.jpg" width="300" height="274" alt="" /></a></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://news.interestic.com/2007/02/10/develop/285.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://news.interestic.com/2007/02/10/develop/285.html" />
	</item>
	</channel>
</rss>

