<?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>橋本雄の技術ブログ &#187; install</title>
	<atom:link href="http://labs.asunochikara.com/tag/install/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.asunochikara.com</link>
	<description>橋本雄がvim、ubuntu、phpなどの技術情報をまとめています</description>
	<lastBuildDate>Fri, 14 May 2010 14:17:59 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://labs.asunochikara.com/tag/install/feed/" />
		<item>
		<title>xreaサーバーにsymfonyをインストールする方法</title>
		<link>http://labs.asunochikara.com/2008/09/symfony-install/</link>
		<comments>http://labs.asunochikara.com/2008/09/symfony-install/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 05:41:48 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://labs.asunochikara.com/?p=34</guid>
		<description><![CDATA[いろんなところで、同じタイトルで出ていますが、うまくいかないものであったり、疑問があったりしましたので、整理してみました。私なりのやり方です。

pearのインストール

pear config-create /virt [...]]]></description>
			<content:encoded><![CDATA[<p>いろんなところで、同じタイトルで出ていますが、うまくいかないものであったり、疑問があったりしましたので、整理してみました。私なりのやり方です。</p>
<ol>
<li>pearのインストール

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pear config-create <span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>自分のユーザ名 .pearrc
pear <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>自分のユーザ名<span style="color: #000000; font-weight: bold;">/</span>.pearrc <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-o</span> PEAR</pre></div></div>

<p>これで、/virtual/自分のユーザー名/pearのところに、pearがインストールされ、その設定が.pearrcに書き込まれます。
</li>
<li>
パスを通す。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> .bash_profile
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=~<span style="color: #000000; font-weight: bold;">/</span>pear<span style="color: #000000; font-weight: bold;">/</span>php:~<span style="color: #000000; font-weight: bold;">/</span>pear:<span style="color: #007800;">$PATH</span></pre></div></div>

<p>としておきます。
</li>
<li>
symfonyのインストール<br />
普通に</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pear channel-discover pear.symfony-project.com
pear <span style="color: #c20cb9; font-weight: bold;">install</span> symfony<span style="color: #000000; font-weight: bold;">/</span>symfony</pre></div></div>

</li>
<li>.htaccessへの設定<br />
一部追加します。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Options +FollowSymLinks +ExecCGI
AddHandler application<span style="color: #000000; font-weight: bold;">/</span>x-httpd-phpcgi .php
mod_gzip_on Off</pre></div></div>

</li>
<li>
symfonyコマンドでプロジェクトを作成します</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">symfony new プロジェクト名</pre></div></div>

</li>
<li>最後、WEBフォルダをシンボリックリンクで結びます

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>自分のユーザ名<span style="color: #000000; font-weight: bold;">/</span>プロジェクト名<span style="color: #000000; font-weight: bold;">/</span>web<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>自分のユーザ名<span style="color: #000000; font-weight: bold;">/</span>public_html<span style="color: #000000; font-weight: bold;">/</span>ドメイン名
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>自分のユーザ名<span style="color: #000000; font-weight: bold;">/</span>pear<span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>symfony<span style="color: #000000; font-weight: bold;">/</span>web<span style="color: #000000; font-weight: bold;">/</span>sf<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">/</span>virtual<span style="color: #000000; font-weight: bold;">/</span>自分のユーザ名<span style="color: #000000; font-weight: bold;">/</span>プロジェクト名<span style="color: #000000; font-weight: bold;">/</span>web<span style="color: #000000; font-weight: bold;">/</span>sf</pre></div></div>

</li>
</ol>
<p>以上で、完成です。</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.asunochikara.com/2008/09/symfony-install/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://labs.asunochikara.com/2008/09/symfony-install/" />
	</item>
	</channel>
</rss>
