<?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>delab &#187; Pleiades</title>
	<atom:link href="http://de-lab.com/tag/pleiades/feed/" rel="self" type="application/rss+xml" />
	<link>http://de-lab.com</link>
	<description>xhtml CSS SEO CMS PHP など Webデザイン WEBサイト構築の話題</description>
	<lastBuildDate>Wed, 05 Oct 2011 23:41:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Eclipse+pdtインストール 日本語化してPHP開発環境を作る(Xampp)</title>
		<link>http://de-lab.com/article/eclipse/</link>
		<comments>http://de-lab.com/article/eclipse/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 08:14:48 +0000</pubDate>
		<dc:creator>sato</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[PDT]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Pleiades]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://de-lab.com/php/eclipse/eclipse/</guid>
		<description><![CDATA[Eclipseはオープンソースの統合開発環境(IDE)です。 Windows・xampp環境で、Eclipse PDT(PHP統合開発環境)・Pleiades(日本語化)をインストールしました。 eclipse＋pdt( [...]]]></description>
			<content:encoded><![CDATA[<div class="disc">
<p>Eclipseはオープンソースの統合開発環境(IDE)です。</p>
<p>Windows・xampp環境で、Eclipse PDT(PHP統合開発環境)・Pleiades(日本語化)をインストールしました。</p>
</div>
<p><span id="more-51"></span></p>
<h3 id="toc-eclipsepdtphppleiades-">eclipse＋pdt(PHP)＋Pleiades(日本語化) インストールから設定までのまとめ</h3>
<ol class="summary-link">
<li>Eclipseとpdtで日本語化したPHP開発環境を作る(Xampp)</li>
<li><a href="http://de-lab.com/development/eclipse/eclipse_aptana/" title="EclipseでPHP開発環境を作る - Aptanaのインストール : delab" class="liinternal">EclipseでPHP開発環境を作る &#8211; Aptanaのインストール</a></li>
<li><a href="http://de-lab.com/development/eclipse/eclipse_setting/" title="EclipseでPHP開発環境を作る - 設定 : delab" class="liinternal">EclipseでPHP開発環境を作る &#8211; 設定</a></li>
</ol>
<h2 id="toc-eclipsephpide">EclipseをPHPのIDEとして使う方法</h2>
<p class="center"><a href="http://de-lab.com/wp-content/images/2007/12/2007-12-10_155505.jpg" title='eclipse' rel='lightbox' class="liimagelink"><img id="txtu-article-51-0" class="txtu-article" src="http://de-lab.com/wp-content/images/2007/12/2007-12-10_155505.jpg"  alt='eclipse' /></a></p>
<p>IDEとは、プログラム開発に必要なツール類をひとまとめにしたソフトウェアアプリケーションを指します。</p>
<p>最近IDEって言葉をはじめて知りました。なかなか便利そうです。</p>
<p>今までDreamweaverでコーディングしてましたが、PHP開発環境用のプラグインがあると聞いて、早速入れてみました。</p>
<h2 id="toc-">インストール前の準備</h2>
<h3 id="toc-eclipsepdt">Eclipse/pdt環境に必要なもの</h3>
<p>PDT(PHP Development Tools) &#8211; PHP向けの統合開発環境</p>
<p>Pleiades &#8211; 本体とプラグインを日本語化するプラグイン</p>
<h3 id="toc-1">作業環境</h3>
<div class="leftline">
<p>Windows VISTA</p>
<p>Xampp ( Apache2.2.6 / PHP 5.2.4 / Mysql 5.0.45 )</p>
</div>
<h3 id="toc-2">インストールファイル</h3>
<div class="leftline">
<p>pdt 1.0 Release Build: R20070917</p>
<p>Pleiades 1.2.1.p17</p>
</div>
<p>※今回は敷居の低いxamppで検証しましたが、coLinuxでも実働しています。</p>
<p>xamppは初心者でも簡単にPHP/Mysql環境を作ることが出来るアプリケーションです。</p>
<p>また、最初からZendなどのデバッガーが入っているので、自分で入れる手間が省けます。</p>
<p>xamppインストールにはこちらが参考になると思います。</p>
<p class="p_link"><a href="http://www.thinkit.co.jp/free/article/0701/12/3/" title="[ThinkIT] 第3回：5分でXAMPPをWindowsにインストール (1/4)" target="_blank" class="liexternal">[ThinkIT] 第3回：5分でXAMPPをWindowsにインストール</a></p>
<h2 id="toc-eclipsephp-pdt-">EclipseのPHP向けの統合開発環境 PDT をインストール</h2>
<p>PDTとはEclipse上でPHPの統合開発環境を利用できるプロジェクトです(PHP Development Tools) 。</p>
<p>今回は、Eclipse本体を、PDTのオールインワンパッケージで一緒にインストールします。</p>
<p class="p_link"><a href="http://download.eclipse.org/tools/pdt/downloads/" title="PDT (former PHP IDE) Project Downloads" rel="noflow" target="_blank" class="liexternal">PDT (former PHP IDE) Project Downloads</a></p>
<p>最新リリース &#8211; 1.0 Release Build(<span class="red">R20070917</span>)のリンクより</p>
<p>PDT All-in-One &#8211; <span class="red">pdt-all-in-one-1.0-R20070917-win32.zip</span></p>
<p>上記をダウンロードし、解凍してできた<span class="folder">Eclipse</span>フォルダを、<span class="folder">C:</span></p>
<p>などに移動して、<span class="red">Eclipse.exe</span>で起動します。</p>
<p><ins datetime="2008-05-31T23:13:08+00:00">現在の最新リリースは1.0.2 Release Build <span class="page"><a href="http://download.eclipse.org/tools/pdt/downloads/release.php?release=R20080103" target="_blank" class="liexternal">R20080103</a></span>になっています。ダウンロードファイルは<span class="page"><a href="http://download.eclipse.org/tools/pdt/downloads/release.php?release=R20080103" target="_blank" class="liexternal">pdt-all-in-one-R20080103-win32.zip</a></span>です。</ins></p>
<h2 id="toc-eclipse-pleiades">Eclipseを日本語環境で使うプラグイン &#8211; Pleiades</h2>
<p>Eclipseがインストールされたら、日本語化の作業を行います。</p>
<h3 id="toc-pleiades">Pleiadesのダウンロード</h3>
<p class="p_link"><a href="http://mergedoc.sourceforge.jp/" title="Pleiades (Eclipse プラグイン日本語化プラグイン)" target="_blank" class="liexternal">Pleiades (Eclipse プラグイン日本語化プラグイン)</a></p>
<p>こちらのダウンロードから<span class="page">Pleiades 本体 > 最新板 or 安定版</span> をダウンロードします。</p>
<p>※今回最新版を入れてみましたが、Pleiades自体、まだ動作安定していない？ようなので、安定版のほうがいいのかも。</p>
<h3 id="toc-pleiades1">Pleiadesのインストール</h3>
<p>ダウンロードして出来たフォルダ内の<span class="folder">features</span><span class="folder">plugins</span><span class="page">eclipse.exe -clean.cmd</span>をホームディレクトリ(今回は<span class="folder">C:/Eclipse</span>)にコピーします。</p>
<p><span class="folder">eclipse</span>/<span class="page">eclipse.ini</span>の最後の行にjavaagent指定を追加。</p>
<p class="code">eclipse\eclipse.ini</p>
<pre name="code" class="c">-javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar</pre>
<p>初回起動時に<span class="folder">eclipse</span>/<span class="page">eclipse.exe -clean.cmd</span>をダブルクリックして実行します。</p>
<h2 id="toc-xampp">xamppでデバッグの設定</h2>
<p>xamppでPHPのデバッグが出来るように、xdebugの設定を行います。</p>
<p>xampp1.6.4ではxdebugがインストール済みですので、xdebugをダウンロードする必要がなく楽です。</p>
<p>Cドライブ直下にxamppがインストールされているものとします。</p>
<p>しかしデフォルトではZendDebuggerが有効になっていますので、修正してxdebugを有効にします。</p>
<h3 id="toc-php-ini">php.iniの設定</h3>
<p>[Zend] zend_extension_ts&#8230;の一行をコメントアウト。</p>
<p>[XDebug] 以下のコメントアウトを外して有効化します。</p>
<p><span class="folder">Apache/PHP</span>と<span class="folder">PHP</span>の2か所を同様に修正して下さい。</p>
<p class="code">C:\xampp\apache\bin\php.ini  1263行目</p>
<pre name="code" class="c">
;zend_extension_ts = "\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
....省略
[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="\xampp\tmp"
</pre>
<p class="code">C:\xampp\php\php.ini</p>
<pre name="code" class="c">
[Zend]
;zend_extension_ts = "\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
....省略
[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="\xampp\tmp"
</pre>
<h3 id="toc-httpd-conf">httpd.confの設定</h3>
<p class="code">C:\xampp\apache\conf\httpd.conf</p>
<pre name="code">
LoadModule rewrite_module modules/mod_rewrite.so
</pre>
<p>LoadModule rewrite_moduleのコメントアウトを外します。</p>
<p>Apacheを再起動するとxdebugが有効になっているはずです。</p>
<p class="p_link"><a href="http://de-lab.com/article/eclipse_aptana/" title="EclipseでPHP開発環境を作る - Aptanaのインストール - delab" class="liinternal">次は Aptanaのインストールです</a></p>
<h2 id="toc-3">関連書籍</h2>
<div class="hreview" ><a href="http://www.amazon.co.jp/gp/redirect.html%3FASIN=4798112216%26tag=sato165-22%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/4798112216%253FSubscriptionId=0G91FPYVW6ZGWBH4Y9G2" class="item url" target="_blank"><img id="txtu-article-51-1" src="http://ecx.images-amazon.com/images/I/51VXiVuQ44L._SL160_.jpg" alt="photo" class="photo"  /></a></p>
<dl >
<dt class="fn"><a href="http://www.amazon.co.jp/gp/redirect.html%3FASIN=4798112216%26tag=sato165-22%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/4798112216%253FSubscriptionId=0G91FPYVW6ZGWBH4Y9G2" class="item url" target="_blank">EclipseではじめるPHP</a><img id="txtu-article-51-2" class="txtu-article" src="http://www.assoc-amazon.jp/e/ir?t=sato165-22&#038;l=ur2&#038;o=9"   border='0' alt='' /></dt>
<dd>NRIラーニングネットワーク株式会社 </dd>
<dd>翔泳社 2007-02-14</dd>
</dl>
<p class="gtools" >by <a href="http://www.goodpic.com/mt/aws/index.html" target="_blank" class="liexternal">G-Tools</a> ,  <abbr class="dtreviewed" title="2008/05/31">2008/05/31</abbr></p>
</div>
<div class="hreview" ><a href="http://www.amazon.co.jp/gp/redirect.html%3FASIN=4798018511%26tag=sato165-22%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/4798018511%253FSubscriptionId=0G91FPYVW6ZGWBH4Y9G2" class="item url" target="_blank"><img id="txtu-article-51-3" src="http://ecx.images-amazon.com/images/I/514aC48R80L._SL160_.jpg" alt="photo" class="photo"  /></a></p>
<dl >
<dt class="fn"><a href="http://www.amazon.co.jp/gp/redirect.html%3FASIN=4798018511%26tag=sato165-22%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/4798018511%253FSubscriptionId=0G91FPYVW6ZGWBH4Y9G2" class="item url" target="_blank">Eclipse3ではじめるPHP5プログラミング入門―Eclipse PDT対応</a><img id="txtu-article-51-2" class="txtu-article" src="http://www.assoc-amazon.jp/e/ir?t=sato165-22&#038;l=ur2&#038;o=9"   border='0' alt='' /></dt>
<dd>掌田 津耶乃 </dd>
<dd>秀和システム 2007-12</dd>
</dl>
<p class="gtools" >by <a href="http://www.goodpic.com/mt/aws/index.html" target="_blank" class="liexternal">G-Tools</a> ,  <abbr class="dtreviewed" title="2008/05/31">2008/05/31</abbr></p>
</div>
<img src="http://de-lab.com/?ak_action=api_record_view&id=51&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://de-lab.com/article/eclipse/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

