<?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>VPS | ウダ2Blog</title>
	<atom:link href="https://uda2.com/blog/tag/vps/feed/" rel="self" type="application/rss+xml" />
	<link>https://uda2.com/blog</link>
	<description>大阪でフリーランスとしてWEB制作している管理人が気になった技術をメモったり、作ったツールの紹介などを綴っているブログです。</description>
	<lastBuildDate>Wed, 19 Oct 2016 23:07:31 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>WordPressが更新出来ない</title>
		<link>https://uda2.com/blog/wordpressupdate/</link>
					<comments>https://uda2.com/blog/wordpressupdate/#comments</comments>
		
		<dc:creator><![CDATA[uda2]]></dc:creator>
		<pubDate>Wed, 19 Oct 2016 22:58:41 +0000</pubDate>
				<category><![CDATA[制作日記]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WorpPress]]></category>
		<guid isPermaLink="false">http://uda2.com/blog/?p=2108</guid>

					<description><![CDATA[<p>このサーバーでは無いがGMOクラウドのVPSに設置していたWordPressがアップデート出来なくなっていた。 普通なら「PHPのタイムアウト」とか「パーミッション」がよくある原因だが今回はcURLが原因だった。 ダウン</p>
The post <a href="https://uda2.com/blog/wordpressupdate/">WordPressが更新出来ない</a> first appeared on <a href="https://uda2.com/blog">ウダ2Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>このサーバーでは無いがGMOクラウドのVPSに設置していたWordPressがアップデート出来なくなっていた。<br />
普通なら「PHPのタイムアウト」とか「パーミッション」がよくある原因だが今回はcURLが原因だった。<br />
<span id="more-2108"></span><br />
<code></p>
<pre>ダウンロードに失敗しました。: cURL error 28: Operation timed out after 300000 milliseconds with 4868965 out of 9142793 bytes received</pre>
<p></code></p>
<p>cURLのタイムアウトの記述を探したら「/wp-admin/includes/file.php」にあったので関数download_urlのデフォルト値を300から3000に書き換えるとアップデート出来る様になりました。</p>
<p>具体的にはVPSなので直接viで開いて「300」で検索して「3000」に書き換え保存する感じです。<br />
<strong>$ sudo vi /var/www/html/wp-admin/includes/file.php</strong></p>
<p>ただ、PHPのタイムアウトみたいに.htaccessやphp.iniで設定出来ないようなのでアップデートの度に変更する必要がありそうだ。そもそも極端にダウンロード回線が遅いGMOクラウドのVPSが問題なので回線を改善して欲しいところです。</p>
<p>photo by<a href="https://pixabay.com/ja/%E7%8C%AB-%E5%AD%90%E7%8C%AB-%E7%8C%AB%E3%81%AE%E8%B5%A4%E3%81%A1%E3%82%83%E3%82%93-%E3%82%B8%E3%83%A3%E3%83%B3%E3%83%97-%E8%8B%A5%E3%81%84%E7%8C%AB-912291/" target="_blank">rihaij@Pixabay</a></p>The post <a href="https://uda2.com/blog/wordpressupdate/">WordPressが更新出来ない</a> first appeared on <a href="https://uda2.com/blog">ウダ2Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://uda2.com/blog/wordpressupdate/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
