<?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>HattaraTecLog &#187; CGI版</title>
	<atom:link href="http://teclog.hattara.info/?feed=rss2&#038;tag=cgi%E7%89%88" rel="self" type="application/rss+xml" />
	<link>http://teclog.hattara.info</link>
	<description>LinuxネタとかPHPネタとかの技術ログ</description>
	<lastBuildDate>Tue, 18 Nov 2014 12:15:20 +0000</lastBuildDate>
	<language>ja</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8</generator>
	<item>
		<title>CGI版PHPについて</title>
		<link>http://teclog.hattara.info/?p=39</link>
		<comments>http://teclog.hattara.info/?p=39#comments</comments>
		<pubDate>Tue, 14 Oct 2008 11:48:49 +0000</pubDate>
		<dc:creator><![CDATA[hattara]]></dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[CGI版]]></category>
		<category><![CDATA[ini_set]]></category>
		<category><![CDATA[php_value]]></category>

		<guid isPermaLink="false">http://teclog.hattara.info/?p=39</guid>
		<description><![CDATA[モジュール版ではなく、CGI版のPhpを使う場合、 (レンタルサーバを利用中でCGI版になってる場合）には、  [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>モジュール版ではなく、CGI版のPhpを使う場合、<br />
(レンタルサーバを利用中でCGI版になってる場合）には、<br />
特に何も設定をしなかった場合には、<br />
phpの環境変数(php.iniで設定されてるもの)を変更できない。</p>
<p>モジュール版の場合には、.htaccessに「php_value」を書いてみたり<br />
phpのソース（たとえばtest.phpみたいな）ものの中で「ini_set」をして<br />
設定を上書きすることができる(1部の設定を除く)わけですが、<br />
CGI版ではできないようですね。</p>
<p>phpinfoでみても「local」の部分が書き変わってないので、<br />
効いてないってことですね。</p>
<p>実際に試してみましたが、できませんでした。</p>
<p>これを回避する一般的な方法としては、suPHPを利用する形っぽいですね。</p>
<p>詳細は以下のサイトにのってるようですぜ。</p>
<p><a href="http://matsui.homeunix.com/index.php?FreeBSD%2FsuPHP">FlatEight.com >> FreeBSD/suPHP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://teclog.hattara.info/?feed=rss2&#038;p=39</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
