{"id":3062,"date":"2015-09-26T22:52:53","date_gmt":"2015-09-26T13:52:53","guid":{"rendered":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/?p=3062"},"modified":"2015-09-26T22:54:50","modified_gmt":"2015-09-26T13:54:50","slug":"wordpress%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84","status":"publish","type":"post","link":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/2015\/09\/26\/3062\/","title":{"rendered":"WordPress\u304c\u66f4\u65b0\u3067\u304d\u306a\u3044"},"content":{"rendered":"<p>WordPress\u306e4.3.1\u306e\u66f4\u65b0\u6307\u793a\u304c\u51fa\u3066\u3044\u305f\u306e\u3067\u3001\u81ea\u52d5\u66f4\u65b0\u3057\u3088\u3046\u3068\u3057\u3066\u3082\u30a8\u30e9\u30fc\u3067\u66f4\u65b0\u3067\u304d\u306a\u3044\uff08\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002: \u8981\u6c42\u3055\u308c\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b8c\u4e86\u3067\u304d\u308b HTTP \u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u300d\u3068\u51fa\u308b\uff09\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-content\/uploads\/2015\/09\/20150926155017-e1443275355493.png\" alt=\"20150926155017\" width=\"600\" height=\"226\" class=\"aligncenter size-full wp-image-3063\" \/><\/p>\n<p>\u3069\u3046\u3082\u3001php\u5074\u304b\u3089curl\u3092\u4f7f\u3063\u3066\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u3082\u3088\u3046\u3002<\/p>\n<p>\u2015\u3068\u601d\u3063\u305f\u3089\u3001\u30b7\u30b9\u30c6\u30e0\u306ephp\u81ea\u4f53\u304c\u66f4\u65b0\u3055\u308c\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u300c&#8211;with-curl\u300d\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u4ed8\u304d\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u3002\u305d\u308c\u306a\u3089\u3070\u3068\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u30b3\u30f3\u30d1\u30a4\u30eb\u81ea\u4f53\u306f\u6210\u529f\u3059\u308b\u306e\u3060\u304c\u3001Apache\u306b\u7d44\u307f\u8fbc\u3093\u3060\u969b\u306b\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3060\u304b\u3068\u885d\u7a81\u3059\u308b\u306e\u304b\u3001httpd\u30b5\u30fc\u30d0\u304c\u52d5\u4f5c\u3092\u505c\u6b62\u3057\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>Apache\u304c\u3060\u3044\u3076\u53e4\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u304c\u3001\u3053\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u4e0a\u3052\u308c\u3070\u3044\u3044\u306e\u304b\u306a\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001WoredPress\u306f\u624b\u52d5\u66f4\u65b0\u3059\u308b\u304b\u2026\u3002<\/p>\n<p>\u524d\u307e\u3067\u306f\u81ea\u52d5\u66f4\u65b0\u3067\u304d\u3066\u3044\u305f\u304c\u3001WordPress\u5074\u304ccurl\u3092\u4f7f\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u304b\u3001\u4ee5\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u305fphp\u304ccurl\u4ed8\u304d\u3067\u3082httpd\u304c\u6b63\u5e38\u52d5\u4f5c\u3057\u3066\u3044\u305f\u304b\u3001\u3069\u3061\u3089\u304b\u304b\uff1f<\/p>\n<p><strong>[\u4ee5\u4e0b\u3001\u88dc\u8a18]<br \/>\nWordPress\u306e\u81ea\u52d5\u66f4\u65b0\u7b87\u6240\uff08\u3068\u3044\u3046\u304b\u3001http\u3067\u306e\u30c7\u30fc\u30bf\u53d6\u5f97\u7b87\u6240\u306f\u4ee5\u4e0b\uff09<br \/>\n<\/strong><br \/>\n\u4e0a\u8a18\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u81ea\u4f53\uff08\u306e\u539f\u8a9e\uff09\u306fwp-includes\/class-http.php\u306b\u3042\u308b\uff1a<\/p>\n<div class=\"hl-surround\" ><div class=\"hl-main\"><pre>return new WP_Error( 'http_failure', \r\n  __( 'There are no HTTP transports available which can complete the requested request.' ) );<\/pre><\/div><\/div>\n<p>class-http.php\u306e\u5185\u90e8\u30e1\u30bd\u30c3\u30c9\u306e_dispatch_request()\u3092\u7d4c\u7531\u3057\u3066_get_first_available_transport()\u3067WordPress\u306ezip\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u3089\u3057\u3044\u3093\u3060\u304c\u3001\u3053\u306eURL\u306bcurl\u30b3\u30de\u30f3\u30c9\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3068https\u306e\u5834\u5408\u306f\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u30a8\u30e9\u30fc\u3068\u51fa\u308b\u3057\u3001http\u306e\u5834\u5408\u306f\u300c301 Moved Permanently\u300d\u3068\u51fa\u3066\u3001\u3069\u3061\u3089\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u306a\u3044\u3002<\/p>\n<p>_get_first_available_transport()\u3067\u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u306b\u4f7f\u308f\u308c\u308b$request_order\u3092\u898b\u3066\u307f\u308b\u3068array(2) { [0]=> string(4) &#8220;curl&#8221; [1]=>string(7) &#8220;streams&#8221; } \u3068\u306a\u3063\u3066\u3044\u3066\u3001\u3069\u3061\u3089\u3067\u3082\u5931\u6557\u3057\u3066\u3044\u308b\u6a21\u69d8\u3002\u3053\u306e\u5024\u3092\u4f7f\u3063\u3066 &#8216;WP_HTTP_&#8217; + &#8216;curl&#8217;\u30af\u30e9\u30b9\u306a\u3069\u306etest()\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3070\u308c\u3066\u30c6\u30b9\u30c8\u3055\u308c\u308b\u3089\u3057\u3044\u3002<\/p>\n<p>\u3053\u306e\u30af\u30e9\u30b9\u81ea\u4f53\u306f\u540c\u3058class-http.php\u5185\u306eWP_Http_Curl\u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\uff08\u95a2\u6570\u540d\u306e\u30ad\u30e3\u30d4\u30bf\u30e9\u30a4\u30ba\u306f\u4e0d\u4e00\u81f4\u3060\u304c\u5927\u4e08\u592b\uff1f\uff09\u3002test()\u30e1\u30bd\u30c3\u30c9\u306e\u547c\u3073\u51fa\u3057\u306f\u884c\u306a\u308f\u308c\u3066\u3044\u3066\u3001\u305d\u306e\u30e1\u30bd\u30c3\u30c9\u5185\u3067function_exists(&#8216;curl_init&#8217;)\u3068function_exists(&#8216;curl_exec&#8217;)\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u3066\u3044\u308b\u304c\u3001\u3069\u3061\u3089\u3082false\u3067\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306e4.3.1\u306e\u66f4\u65b0\u6307\u793a\u304c\u51fa\u3066\u3044\u305f\u306e\u3067\u3001\u81ea\u52d5\u66f4\u65b0\u3057\u3088\u3046\u3068\u3057\u3066\u3082\u30a8\u30e9\u30fc\u3067\u66f4\u65b0\u3067\u304d\u306a\u3044\uff08\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002: \u8981\u6c42\u3055\u308c\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b8c\u4e86\u3067\u304d\u308b HTTP \u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u300d\u3068\u51fa\u308b\uff09\u3002  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[379,60,3],"_links":{"self":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts\/3062"}],"collection":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/comments?post=3062"}],"version-history":[{"count":8,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts\/3062\/revisions"}],"predecessor-version":[{"id":3071,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/posts\/3062\/revisions\/3071"}],"wp:attachment":[{"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/media?parent=3062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/categories?post=3062"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mechsys.tec.u-ryukyu.ac.jp\/~oshiro\/SiteList\/wp-json\/wp\/v2\/tags?post=3062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}