<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>PHPフレームワークsymfonyをインストールする へのコメント</title>
	<atom:link href="http://www.square-mi.com/wp/138/php%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0%e3%83%af%e3%83%bc%e3%82%afsymfony%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.square-mi.com/wp/138/php%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0%e3%83%af%e3%83%bc%e3%82%afsymfony%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php%25e3%2583%2595%25e3%2583%25ac%25e3%2583%25bc%25e3%2583%25a0%25e3%2583%25af%25e3%2583%25bc%25e3%2582%25afsymfony%25e3%2582%2592%25e3%2582%25a4%25e3%2583%25b3%25e3%2582%25b9%25e3%2583%2588%25e3%2583%25bc%25e3%2583%25ab%25e3%2581%2599%25e3%2582%258b</link>
	<description>oracle, php, java, etc... technical memo &#38; つれづれなこと</description>
	<lastBuildDate>Mon, 11 Mar 2013 05:07:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
	<item>
		<title>commerce より</title>
		<link>http://www.square-mi.com/wp/138/php%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0%e3%83%af%e3%83%bc%e3%82%afsymfony%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b/#comment-11</link>
		<dc:creator>commerce</dc:creator>
		<pubDate>Wed, 17 Oct 2012 07:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.square-mi.com/wp/?p=138#comment-11</guid>
		<description><![CDATA[&lt;code&gt;$ apachectl restart&lt;/code&gt;
を実施したさい、コンソールに
&lt;code&gt;Warning: DocumentRoot [/home/smi/jobeet/web] does not exist&lt;/code&gt;
と、エラー表示されました。
調べてみると、SELinux のせいだということがわかりました。

【調べ方】
&lt;code&gt;$ getenforce
Enforcing&lt;/code&gt;
Enforcing(有効) / Permissive(無効)

【無効化/有効化】
&lt;code&gt;$ setenforce 0
 or
$ setenforce Permissive&lt;/code&gt;
で、無効化
&lt;code&gt;$ setenforce 1
 or
$ setenforce Enforcing&lt;/code&gt;
で、有効化

↑は、一時的

【SELinux 起動時設定】
&lt;code&gt;$ vi /etc/selinux/config&lt;/code&gt;

&lt;code&gt;# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#   enforcing - SELinux security policy is enforced.
#   permissive - SELinux prints warnings instead of enforcing.
#   disabled - SELinux is fully disabled.
SELINUX=enforcing&lt;/code&gt;

→「enforcing」のところを変更する。
enforcing	：ボリシーの設定に反するアクセスを拒否し、ログを出力する。
permissive	：ボリシーの設定に反するアクセスであっても許可する。ただし、ログは出力する。
disabled	：ボリシーの設定に反するアクセスを許可。ログを出力しない。
]]></description>
		<content:encoded><![CDATA[<p><code>$ apachectl restart</code><br />
を実施したさい、コンソールに<br />
<code>Warning: DocumentRoot [/home/smi/jobeet/web] does not exist</code><br />
と、エラー表示されました。<br />
調べてみると、SELinux のせいだということがわかりました。</p>
<p>【調べ方】<br />
<code>$ getenforce<br />
Enforcing</code><br />
Enforcing(有効) / Permissive(無効)</p>
<p>【無効化/有効化】<br />
<code>$ setenforce 0<br />
 or<br />
$ setenforce Permissive</code><br />
で、無効化<br />
<code>$ setenforce 1<br />
 or<br />
$ setenforce Enforcing</code><br />
で、有効化</p>
<p>↑は、一時的</p>
<p>【SELinux 起動時設定】<br />
<code>$ vi /etc/selinux/config</code></p>
<p><code># This file controls the state of SELinux on the system.<br />
# SELINUX= can take one of these three values:<br />
#   enforcing - SELinux security policy is enforced.<br />
#   permissive - SELinux prints warnings instead of enforcing.<br />
#   disabled - SELinux is fully disabled.<br />
SELINUX=enforcing</code></p>
<p>→「enforcing」のところを変更する。<br />
enforcing	：ボリシーの設定に反するアクセスを拒否し、ログを出力する。<br />
permissive	：ボリシーの設定に反するアクセスであっても許可する。ただし、ログは出力する。<br />
disabled	：ボリシーの設定に反するアクセスを許可。ログを出力しない。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
