<?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>PHP - W3.通信</title>
	<atom:link href="https://a2d.webcraft.work/category/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0/php/feed/" rel="self" type="application/rss+xml" />
	<link>https://a2d.webcraft.work</link>
	<description>仕事や生活の中で役立つ情報をメモ書きし、よりよい環境構築をサポートするサイト</description>
	<lastBuildDate>Fri, 16 Nov 2018 05:52:07 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>
	<item>
		<title>PhpStormをUSB等に入れて使う方法(ポータブル化)</title>
		<link>https://a2d.webcraft.work/phpstorm_portable_howto/</link>
					<comments>https://a2d.webcraft.work/phpstorm_portable_howto/#respond</comments>
		
		<dc:creator><![CDATA[管理人]]></dc:creator>
		<pubDate>Sat, 06 Oct 2018 10:53:44 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">https://a2d.webcraft.work/?p=1112</guid>

					<description><![CDATA[皆が大好きなJetBrains製のIDE「PhpStorm」。 一番フロントのダウンロード画面はインストーラがダウンロードされるので気づきにくいですがzipファイルが公式で用意されているのでポータブル化して利用することが…]]></description>
										<content:encoded><![CDATA[<p>皆が大好きなJetBrains製のIDE「PhpStorm」。</p>
<p>一番フロントのダウンロード画面はインストーラがダウンロードされるので気づきにくいですがzipファイルが公式で用意されているのでポータブル化して利用することが可能です。</p>
<p>また、Toolboxやインストーラを介してインストールを行うことで使用することが出来ますが、インストール権限がおいそれともらえないような環境ではzipファイルなどから使用出来る環境を作ったりする場合にお役立て下さい。</p>
<h2>PhpStormとは</h2>
<p>JetBrains社からは様々なIDEや開発環境をサポートするようなソフトが開発されていますが、その中でもPHPでプログラミングをする方に大人気の統合開発環境(IDE)です。</p>
<div class="sc_frame_wrap onframe orange">
<div class="sc_frame_title">リンク</div>
<div class="sc_frame ">✓<strong><a href="https://www.jetbrains.com/">JetBrains公式HP</a></strong></div>
</div>
<h2>環境構築方法</h2>
<p>まずZipファイルをダウンロードする必要がありますが、公式HPをパッと見た限りじゃ分かりません。</p>
<p>どうやら直接のリンクはないようなのでまずは<span class="ymarker-s sc_marker">Previous versions</span>をクリックしましょう。</p>
<figure id="attachment_1116" aria-describedby="caption-attachment-1116" style="width: 300px" class="wp-caption alignnone"><img class="wp-image-1116 size-medium" src="https://a2d.webcraft.work/wp-content/uploads/2018/10/2018-10-06-300x177.jpg" alt="" width="300" height="177" srcset="https://a2d.webcraft.work/wp-content/uploads/2018/10/2018-10-06-300x177.jpg 300w, https://a2d.webcraft.work/wp-content/uploads/2018/10/2018-10-06-768x453.jpg 768w, https://a2d.webcraft.work/wp-content/uploads/2018/10/2018-10-06-1024x604.jpg 1024w, https://a2d.webcraft.work/wp-content/uploads/2018/10/2018-10-06.jpg 1315w" sizes="(max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-1116" class="wp-caption-text">PhpStormのダウンロード画面</figcaption></figure>
<p>以前のバージョンのダウンロードリンクですがここからダウンロードしましょう。</p>
<p>最新版が欲しい場合にはインストール後にアップデートするか、リンクアドレスのバージョンを弄って最新版のzipをダウンロードしましょう。</p>
<p>最新板のzipへのリンクは見当たりませんが、ファイルそのものはあるようです。</p>
<figure id="attachment_1118" aria-describedby="caption-attachment-1118" style="width: 300px" class="wp-caption alignnone"><a href="https://a2d.webcraft.work/wp-content/uploads/2018/10/phpstorm.jpg"><img loading="lazy" class="wp-image-1118 size-medium" src="https://a2d.webcraft.work/wp-content/uploads/2018/10/phpstorm-300x225.jpg" alt="PHPStormのZipファイルダウンロードリンク" width="300" height="225" srcset="https://a2d.webcraft.work/wp-content/uploads/2018/10/phpstorm-300x225.jpg 300w, https://a2d.webcraft.work/wp-content/uploads/2018/10/phpstorm-768x576.jpg 768w, https://a2d.webcraft.work/wp-content/uploads/2018/10/phpstorm.jpg 774w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-1118" class="wp-caption-text">zipダウンロードファイルはここに用意されている</figcaption></figure>
<p>ダウンロードファイルを解凍して起動するだけで動作はしますが、コンフィグなどがWindowsのユーザーフォルダ配下に作成されてしまい、不十分なのでidea.propertiesを編集して完全ポータブル化しましょう。</p>
<h3>設定ファイルの編集</h3>
<p>binフォルダ配下にある、<span class="ymarker-s sc_marker">idea.properties</span>を変更してコンフィグやプラグインファイルの保存先を指定しましょう。</p>
<p>デフォルトでは<span class="sc_marker blue">idea.config.path</span>と<span class="sc_marker blue">idea.system.path</span>がWindowsのユーザーフォルダ配下になっているので変更しましょう。</p>
<h4>変更前設定値</h4>
<p><span class="ymarker-s">idea.properties</span>の8行目、13行目、18行目、23行目付近の以下の設定値があります。</p>
<pre class="lang:default decode:true"># idea.config.path=${user.home}/.PhpStorm/config
# idea.system.path=${user.home}/.PhpStorm/system
# idea.plugins.path=${idea.config.path}/plugins
# idea.log.path=${idea.system.path}/log
</pre>
<p>コメントを外して<span class="sc_marker blue">user.home</span>を<span class="sc_marker blue">idea.home.path</span>に変更しましょう。</p>
<h4>変更後設定値</h4>
<p>8行目と13行目を書き換えれば、18行目と23行目は変更せずにコメントを外すだけでも問題ありません。</p>
<pre class="lang:default decode:true">idea.config.path=${idea.home.path}/.PhpStorm/config
idea.system.path=${idea.home.path}/.PhpStorm/system
idea.plugins.path=${idea.home.path}/plugins
idea.log.path=${idea.home.path}/log</pre>
<p>以上の設定後、「<span class="sc_marker">bin\phpstorm.exe</span>」を一度起動すれば無事にポータブル化完了です。環境に依存しないのでDropBoxやGoogleDriveを使って各PCで共有化することも可能です。</p>
<p>日本語化などのVMOptionをしたい場合は、binフォルダ内の「<span class="sc_marker">phpstorm.exe.vmoptions</span>」に設定値を書き加えましょう。</p>
<p>お疲れ様でした。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://a2d.webcraft.work/phpstorm_portable_howto/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
