<?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>lllnorikolll@online &#187; Vista</title>
	<atom:link href="http://blog.lllnorikolll.com/archives/tag/vista/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.lllnorikolll.com</link>
	<description>オンライン - WEBアプリケーション開発関連のメモなど</description>
	<lastBuildDate>Sat, 15 Oct 2011 05:08:36 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Vista+xamppでphpコマンドライン実行する。</title>
		<link>http://blog.lllnorikolll.com/archives/85</link>
		<comments>http://blog.lllnorikolll.com/archives/85#comments</comments>
		<pubDate>Sun, 24 Aug 2008 09:55:27 +0000</pubDate>
		<dc:creator>lllnorikolll</dc:creator>
				<category><![CDATA[メモ箱]]></category>
		<category><![CDATA[Gallery2]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://blog.lllnorikolll.com/?p=85</guid>
		<description><![CDATA[Vista+xamppで、Gallery2のモジュールのひな形を作るメモだったりします。 [スタート]⇒[コンピュータ]を右クリック⇒[プロパティ]⇒[システムの詳細設定]⇒[続行]でシステムのプロパティ画面が開く。「詳 [...]]]></description>
			<content:encoded><![CDATA[<p>Vista+xamppで、<a title="gallery2" href="http://gallery.menalto.com/" target="_blank">Gallery2</a>のモジュールのひな形を作るメモだったりします。</p>
<p>[スタート]⇒[コンピュータ]を右クリック⇒[プロパティ]⇒[システムの詳細設定]⇒[続行]でシステムのプロパティ画面が開く。「詳細設定」タブの「環境変数」ボタンを押す。</p>
<p>「システムの環境変数の欄に「Path」という項目があるので、その項目を選択して「編集」ボタンを押す。「変数値」の最後に「;c:\xampp\php」を追記。</p>
<p>で、OKOKで画面を閉じていく。コマンドプロンプトを立ち上げっぱなしの場合は、一度閉じてから開く。</p>
<p>実行したいPHPファイルのあるディレクトリに移動して、「php ファイル名.php」で実行できる。</p>
<p>が！！！だ、Gallery2のモジュールのひな形を作成するcreate-module.phpをこの方法で実行すると、下記のメッセージが出る。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">C:\xampp\htdocs\gallery2\lib\tools\creator<span style="color: #000000; font-weight: bold;">&gt;</span>php create-module.php
You must run this from the gallery2 directory</pre></div></div>

<p>しかたないので、C:\xampp\htdocs\gallery2まで移動してから実行したらうまくいった！</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">C:\xampp\htdocs\gallery2<span style="color: #000000; font-weight: bold;">&gt;</span>php lib\tools\creator\create-module.php
What is the name of your module? <span style="color: #7a0874; font-weight: bold;">&#91;</span>Hello World<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>ここはモジュール名ほげほげー<span style="color: #7a0874; font-weight: bold;">&#41;</span>
What is the <span style="color: #c20cb9; font-weight: bold;">id</span> of your module? <span style="color: #7a0874; font-weight: bold;">&#91;</span>wifigadgets<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>ここはモジュールIDほげほげー<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span>
Your module is ready<span style="color: #000000; font-weight: bold;">!</span>  You must build it by doing:
&nbsp;
  <span style="color: #7a0874; font-weight: bold;">cd</span> modules<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>ここはモジュールIDほげほげー<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>classes
  <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> clean
&nbsp;
Then you can go to the Site Admin -<span style="color: #000000; font-weight: bold;">&gt;</span> Modules
page and <span style="color: #c20cb9; font-weight: bold;">install</span> and activate your module<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.lllnorikolll.com/archives/85/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

