<?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; PHP</title>
	<atom:link href="http://tech.lampetty.net/tech/index.php/archives/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://tech.lampetty.net/tech</link>
	<description>Apache, MySQL, Perl, Python あたり</description>
	<lastBuildDate>Sun, 05 Feb 2012 12:36:09 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.lampetty.net/tech/index.php/archives/category/php/feed" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>PHPでFatal error: Allowed memory size of &#8230;が出た場合の対処方法</title>
		<link>http://tech.lampetty.net/tech/index.php/archives/341?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php%25e3%2581%25a7fatal-error-allowed-memory-size-of-%25e3%2581%258c%25e5%2587%25ba%25e3%2581%259f%25e5%25a0%25b4%25e5%2590%2588%25e3%2581%25ae%25e5%25af%25be%25e5%2587%25a6%25e6%2596%25b9%25e6%25b3%2595</link>
		<comments>http://tech.lampetty.net/tech/index.php/archives/341#comments</comments>
		<pubDate>Sat, 07 Nov 2009 14:56:30 +0000</pubDate>
		<dc:creator>oinume</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tech.lampetty.net/tech/?p=341</guid>
		<description><![CDATA[
		<script type="text/javascript"><!--
			show_rakuten('#book13992207', '<!-- cache --><div class="rakuten_image"><a href="http://hb.afl.rakuten.co.jp/hgc/0e871b08.72e65fa8.0e871b0a.296b5a1b/?pc=http%3A%2F%2Fitem.rakuten.co.jp%2Fbook%2F6794779%2F"><img src="http://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/7741/77414437.jpg?_ex=128x128"><br /><p class="rakuten_logo"><!-- Rakuten Web Services Attribution Snippet FROM HERE --><a href="http://webservice.rakuten.co.jp/" target="_blank"><img src="http://webservice.rakuten.co.jp/img/credit/200709/credit_4936.gif" border="0" alt="楽天ウェブサービスセンター" title="楽天ウェブサービスセンター" width="49" height="36"/></a><!-- Rakuten Web Services Attribution Snippet TO HERE --></p><font class="rakuten_warn"><a href="#" class="tooltip">[ご利用にあたって]<span>このサイトで掲載されている情報は、「おいぬま日報」の作成者により運営されています。価格、販売可能情報は、変更される場合があります。購入時に楽天市場店舗（www.rakuten.co.jp）に表示されている価格が、その商品の販売に適用されます。</span></a></font></div><div class="rakuten_info"><p class="rakuten_itemname"><a href="http://hb.afl.rakuten.co.jp/hgc/0e871b08.72e65fa8.0e871b0a.296b5a1b/?pc=http%3A%2F%2Fitem.rakuten.co.jp%2Fbook%2F6794779%2F">【送料無料】パーフェクトPHP</a></p><p class="rakuten_caption">Perfect series 小川雄大 柄沢聡太郎 技術評論社発行年月：2010年12月 ページ数：591p サイズ：単行本 ISBN：978477414437……</p><p><em>販売価格：</em> 3780 円 <font class="rakuten_time">(12/02/10 01:36 更新)</font></p><p><em>販売店舗：</em> <a href="http://www.rakuten.co.jp/book/">楽天ブックス</a></p></div><!-- cache -->');
		// -->
		</script>
		あまりPHPのことわからないのですが、WordPressで Fatal error: Allowed memory size of 8388608 bytes exhausted というエラーメッセージが出ました。ぐぐる [...]]]></description>
			<content:encoded><![CDATA[
		<script type="text/javascript"><!--
			show_rakuten('#book13992207', '<!-- cache --><div class="rakuten_image"><a href="http://hb.afl.rakuten.co.jp/hgc/0e871b08.72e65fa8.0e871b0a.296b5a1b/?pc=http%3A%2F%2Fitem.rakuten.co.jp%2Fbook%2F6794779%2F"><img src="http://thumbnail.image.rakuten.co.jp/@0_mall/book/cabinet/7741/77414437.jpg?_ex=128x128"><br /><p class="rakuten_logo"><!-- Rakuten Web Services Attribution Snippet FROM HERE --><a href="http://webservice.rakuten.co.jp/" target="_blank"><img src="http://webservice.rakuten.co.jp/img/credit/200709/credit_4936.gif" border="0" alt="楽天ウェブサービスセンター" title="楽天ウェブサービスセンター" width="49" height="36"/></a><!-- Rakuten Web Services Attribution Snippet TO HERE --></p><font class="rakuten_warn"><a href="#" class="tooltip">[ご利用にあたって]<span>このサイトで掲載されている情報は、「おいぬま日報」の作成者により運営されています。価格、販売可能情報は、変更される場合があります。購入時に楽天市場店舗（www.rakuten.co.jp）に表示されている価格が、その商品の販売に適用されます。</span></a></font></div><div class="rakuten_info"><p class="rakuten_itemname"><a href="http://hb.afl.rakuten.co.jp/hgc/0e871b08.72e65fa8.0e871b0a.296b5a1b/?pc=http%3A%2F%2Fitem.rakuten.co.jp%2Fbook%2F6794779%2F">【送料無料】パーフェクトPHP</a></p><p class="rakuten_caption">Perfect series 小川雄大 柄沢聡太郎 技術評論社発行年月：2010年12月 ページ数：591p サイズ：単行本 ISBN：978477414437……</p><p><em>販売価格：</em> 3780 円 <font class="rakuten_time">(12/02/10 01:36 更新)</font></p><p><em>販売店舗：</em> <a href="http://www.rakuten.co.jp/book/">楽天ブックス</a></p></div><!-- cache -->');
		// -->
		</script>
		<p>あまりPHPのことわからないのですが、WordPressで</p>
<pre>
Fatal error: Allowed memory size of 8388608 bytes exhausted
</pre>
<p>というエラーメッセージが出ました。ぐぐると「php.iniのmemory_limitを64Mとか大きな値に設定すべし」とあるのですが、Ubuntuの /usr/share/php5/php.ini を</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">memory_limit = 64M</pre></div></div>

<p>と直しても改善しませんでした。で、さらに調べてみるとどうやら /etc/php5/apache2/php.ini なんていうファイルが&#8230; これを上記と同じように64Mにしてapacheを再起動すると、めでたくエラーは出なくなりました。紛らわしいからphp.iniは一つにしておいてほしい&#8230;</p>
<p><div id="book13992207" class="rakuten_details">Now Loading...</div></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.lampetty.net/tech/index.php/archives/341/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.lampetty.net/tech/index.php/archives/341" />
	</item>
	</channel>
</rss>

