<?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>post_max_size  |  塞翁失馬</title>
	<atom:link href="https://hbirds.mydns.jp/tag/post_max_size/feed/" rel="self" type="application/rss+xml" />
	<link>https://hbirds.mydns.jp</link>
	<description>禍福は糾える縄の如し</description>
	<lastBuildDate>Sun, 12 Feb 2023 07:12:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://hbirds.mydns.jp/wp-content/uploads/2022/12/cropped-akaza-32x32.png</url>
	<title>post_max_size  |  塞翁失馬</title>
	<link>https://hbirds.mydns.jp</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>最大アップロードサイズの変更</title>
		<link>https://hbirds.mydns.jp/%e6%9c%80%e5%a4%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%82%b5%e3%82%a4%e3%82%ba%e3%81%ae%e5%a4%89%e6%9b%b4/</link>
		
		<dc:creator><![CDATA[hbirds]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 19:22:23 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[post_max_size]]></category>
		<guid isPermaLink="false">http://hbirds.mydns.jp/?p=788</guid>

					<description><![CDATA[cocoonの親テーマをサーバーにアップロードしようとしたらできなかった。子テーマの方は問題なくできたのだが。調べてみるとファイルのアップロードサイズが足りていなかった。 php.iniでは、以下のように100Mと親テーマのファイルサイズを超える設定をしているのに・・・。 ※ 大きなファイルをアップロードするには post_max_size は upload_max_filesize よりも大きく設定する必要があり、一般的に memory_limit は post_max_size よりも大きくする必要があります。 同時にpost_max_sizeも上記のように100M以上で設定しないとダメというわけでした。]]></description>
										<content:encoded><![CDATA[
<p>cocoonの親テーマをサーバーにアップロードしようとしたらできなかった。子テーマの方は問題なくできたのだが。調べてみるとファイルのアップロードサイズが足りていなかった。</p>



<p>php.iniでは、以下のように100Mと親テーマのファイルサイズを超える設定をしているのに・・・。</p>



<pre class="wp-block-code terminal"><code>upload_max_filesize = 100M←変更
memory_limit = 256M←変更
max_execution_time = 360　←変更
date.timezone = Asia/Tokyo←変更</code></pre>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>※ 大きなファイルをアップロードするには post_max_size は upload_max_filesize よりも大きく設定する必要があり、一般的に memory_limit は post_max_size よりも大きくする必要があります。</p>
</blockquote>



<pre class="wp-block-code terminal"><code>post_max_size = 100M</code></pre>



<p>同時にpost_max_sizeも上記のように100M以上で設定しないとダメというわけでした。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
