{"id":534,"date":"2012-07-21T17:01:54","date_gmt":"2012-07-21T08:01:54","guid":{"rendered":"http:\/\/ts-engine.net\/wp\/?p=534"},"modified":"2012-07-21T17:01:54","modified_gmt":"2012-07-21T08:01:54","slug":"wordpress%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e5%ae%b9%e9%87%8f%e3%82%92%e5%a4%a7%e3%81%8d%e3%81%8f%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/ts-engine.net\/?p=534","title":{"rendered":"wordpress\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5bb9\u91cf\u3092\u5927\u304d\u304f\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\n\u4eca\u3001\u8da3\u5473\u306e\u5199\u771f\u30ae\u30e3\u30e9\u30ea\u30fc\u30b5\u30a4\u30c8\u7684\u306a\u3082\u306e\u3092\u69cb\u7bc9\u4e2d\u3002<br \/>\n\uff08\u3068\u306f\u3044\u3048\u3001\u4eca\u56de\u306f\u3001\u6642\u9593\u304c\u3042\u307e\u308a\u306a\u3044\u305f\u3081\u3001<br \/>\nwordpress\u306e\u30c6\u30fc\u30de\u3092\u5229\u7528\u3059\u308b\u3060\u3051\u306b\u3057\u3088\u3046\u3068\u601d\u3046\u306e\u3060\u304c\u3002\uff09<\/p>\n<p>\u305d\u3053\u3067\u3001wordpress\u3092\u4f7f\u3063\u3066\u3001\u5199\u771f\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3088\u3046\u3068\u3057\u305f\u306e\u3060\u304c\u3001<br \/>\n\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\uff12M\u307e\u3067\u3057\u304b\u3067\u304d\u306a\u3044\u3068\u8868\u793a\u3055\u308c\u305f\u306e\u3067\u300150M\u307e\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3088\u3046\u4fee\u6b63\u3057\u305f\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u305d\u306e\u8a2d\u5b9a\u30e1\u30e2\u3002\n<\/p>\n<p><a href=\"http:\/\/ts-engine.net\/wp-content\/uploads\/2012\/07\/arrow.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ts-engine.net\/wp-content\/uploads\/2012\/07\/arrow-300x200.jpg\" alt=\"\" title=\"Arrow\" width=\"300\" height=\"200\" class=\"aligncenter size-medium wp-image-535\" srcset=\"http:\/\/ts-engine.net\/wp-content\/uploads\/2012\/07\/arrow-300x200.jpg 300w, http:\/\/ts-engine.net\/wp-content\/uploads\/2012\/07\/arrow-768x512.jpg 768w, http:\/\/ts-engine.net\/wp-content\/uploads\/2012\/07\/arrow.jpg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<h2>\nphp.ini\u306e\u8a2d\u5b9a\u5909\u66f4\u3092\u5b9f\u65bd<br \/>\n<\/h2>\n<p>\n[bash]<br \/>\nvim \/etc\/php.ini<br \/>\n[\/bash]<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u3002<\/p>\n<p>[bash]<br \/>\npost_max_size = 50M<br \/>\nupload_max_filesize = 50M<br \/>\n[\/bash]<\/p>\n<p>\u3053\u308c\u3067\u3001php.ini\u306e\u8a2d\u5b9a\u306f\u5b8c\u4e86\uff01<\/p>\n<p>\u3060\u3051\u3069\u3001nginx\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u4eba\u306f\u300c413 Request Entity Too Large\u300d\u306e\u30a8\u30e9\u30fc\u304c\u3067\u307e\u3059\u3002<br \/>\nnginx\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u4eba\u306f\u6b21\u306e\u8a2d\u5b9a\u5909\u66f4\u304c\u5fc5\u8981\u3002\n<\/p>\n<h2>\nnginx\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u306fphp.ini\u306e\u8a2d\u5b9a\u5909\u66f4\u3060\u3051\u3067\u306f\u3001nginx-error-413-request-entity-too-large\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\uff01<br \/>\n<\/h2>\n<p>\nnginx\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001php.ini\u306e\u5909\u66f4\u3060\u3051\u3067\u306f\u3060\u3081\u3067\u3057\u305f\u3002<br \/>\n\/etc\/nginx\/nginx.conf\u3092\u4fee\u6b63\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4fee\u6b63\u306b\u3042\u305f\u308a\u3001\u53c2\u8003\u306b\u3057\u305f\u306e\u306f\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u3002\u30ea\u30f3\u30af\u5148\u304b\u3089\u8a2d\u5b9a\u3092\u4ee5\u4e0b\u306b\u3001\u305d\u306e\u307e\u307e\u8ee2\u8f09\u3002<br \/>\n<a href=\"http:\/\/recursive-design.com\/blog\/2009\/11\/18\/nginx-error-413-request-entity-too-large\/\">nginx error \u2013 413 Request Entity Too Large<\/a><br \/>\n[bash]<br \/>\nhttp {<br \/>\n    include       mime.types;<br \/>\n    default_type  application\/octet-stream;<br \/>\n    sendfile        on;<br \/>\n    keepalive_timeout  65;<\/p>\n<p>    server {<br \/>\n        client_max_body_size 20M;<br \/>\n        listen       80;<br \/>\n        server_name  localhost;<\/p>\n<p>        # Main location<br \/>\n        location \/ {<br \/>\n            proxy_pass         http:\/\/127.0.0.1:8000\/;<br \/>\n        }<br \/>\n    }<br \/>\n}<br \/>\n[\/bash]<\/p>\n<p>\u4e0a\u8a18\u306b\u8a18\u8f09\u3057\u3066\u3044\u308bclient_max_body_size 20M;\u309250M\u306b\u5909\u66f4\u3059\u308b!<br \/>\n\u6700\u5f8c\u306bfastcgi\uff08\u74b0\u5883\u306b\u3088\u308a\u307e\u3059\uff09\u3068\u3001nginx\u3092\u518d\u8d77\u52d5\u3059\u308c\u3070OK\uff01<br \/>\n[bash]<br \/>\n\/etc\/init.d\/php-fastcgi restart<br \/>\n\/etc\/init.d\/nginx restart<br \/>\n[\/bash]<\/p>\n<p>\u4ee5\u4e0a\u3067\u7d42\u4e86\u3067\u3059\uff01\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u3001\u8da3\u5473\u306e\u5199\u771f\u30ae\u30e3\u30e9\u30ea\u30fc\u30b5\u30a4\u30c8\u7684\u306a\u3082\u306e\u3092\u69cb\u7bc9\u4e2d\u3002 \uff08\u3068\u306f\u3044\u3048\u3001\u4eca\u56de\u306f\u3001\u6642\u9593\u304c\u3042\u307e\u308a\u306a\u3044\u305f\u3081\u3001 wordpress\u306e\u30c6\u30fc\u30de\u3092\u5229\u7528\u3059\u308b\u3060\u3051\u306b\u3057\u3088\u3046\u3068\u601d\u3046\u306e\u3060\u304c\u3002\uff09 \u305d\u3053\u3067\u3001wordpress\u3092\u4f7f\u3063\u3066\u3001\u5199\u771f\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3088\u3046\u3068\u3057\u305f\u306e\u3060\u304c\u3001 \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\uff12M\u307e\u3067\u3057\u304b\u3067\u304d\u306a\u3044\u3068\u8868\u793a\u3055\u308c\u305f\u306e\u3067\u300150M\u307e\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3088\u3046\u4fee\u6b63\u3057\u305f\u3002 \u4ee5\u4e0b\u306f\u305d\u306e\u8a2d\u5b9a\u30e1\u30e2\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,20,6],"tags":[],"class_list":["post-534","post","type-post","status-publish","format-standard","hentry","category-26","category-20","category-6"],"_links":{"self":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/posts\/534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=534"}],"version-history":[{"count":0,"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/posts\/534\/revisions"}],"wp:attachment":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=534"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}