{"id":139,"date":"2022-10-16T22:08:00","date_gmt":"2022-10-16T13:08:00","guid":{"rendered":"http:\/\/52.196.21.54.nip.io\/techblog\/?p=139"},"modified":"2022-10-17T21:38:01","modified_gmt":"2022-10-17T12:38:01","slug":"%e3%81%95%e3%81%8f%e3%82%89%e3%81%ae%e3%83%ac%e3%83%b3%e3%82%bf%e3%83%ab%e3%82%b5%e3%83%bc%e3%83%90%e3%81%a7%e3%80%81%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%94%e3%81%a8%e3%81%ab","status":"publish","type":"post","link":"https:\/\/shugomatsuzawa.com\/techblog\/2022\/10\/16\/139\/","title":{"rendered":"\u3055\u304f\u3089\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u3067\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u306b\u7570\u306a\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306ePHP\u3092\u4f7f\u3046\u65b9\u6cd5 [\u8ffd\u8a18]"},"content":{"rendered":"\n<p>\u3055\u304f\u3089\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u3067\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u304b\u3089\u7c21\u5358\u306bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4e00\u62ec\u5207\u308a\u66ff\u3048\u304c\u3067\u304d\u308b\u3002<br>\u3057\u304b\u3057\u3001\uff11\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u8907\u6570\u306eWordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u30b1\u30fc\u30b9\u3067\u306f\u3001\u30b5\u30a4\u30c8\u3054\u3068\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3057\u306a\u304c\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u305f\u3044\u5834\u5408\u3082\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u305d\u306e\u3084\u308a\u65b9\u3002<\/p>\n\n\n<p class=\"well2\"><strong>\u6ce8\u610f<\/strong><br>\u3053\u3053\u3067\u7d39\u4ecb\u3059\u308b\u3084\u308a\u65b9\u306f\u3001\u3055\u304f\u3089\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304c\u60f3\u5b9a\u3059\u308b\u4f7f\u3044\u65b9\u3067\u306f\u306a\u3044\u3002<br>\u4f55\u304c\u8d77\u304d\u3066\u3082\u81ea\u5df1\u8cac\u4efb\u3067\u3002<\/p>\n\n\n<p>\u8ffd\u8a18\uff1a\u3053\u306e\u65b9\u6cd5\u306fCGI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u30e2\u30fc\u30c9\u3068\u6bd4\u8f03\u3057\u3066\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u4f4e\u4e0b\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5909\u3048\u305f\u3044WordPress\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3002\uff08\u3053\u3053\u3067\u306f<code>php-partial-update.cgi<\/code>\u3068\u3059\u308b\uff09<br>\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092755\u306b\u5909\u66f4\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/sh\nexec \/usr\/local\/php\/7.4\/bin\/php-cgi\n# 7.4\u306e\u90e8\u5206\u306f\u597d\u304d\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b<\/code><\/pre>\n\n\n\n<p><code>.htaccess<\/code>\u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Action myphp-script \/php-partial-update.cgi\nAddHandler myphp-script .php .html<\/code><\/pre>\n\n\n\n<p>\u30b5\u30a4\u30c8\u30d8\u30eb\u30b9\u3092\u78ba\u8a8d\u3059\u308c\u3070\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u65b0\u3057\u304f\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3002<br>\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eWordPress\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u6b21\u306ePHP\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070\u5207\u308a\u66ff\u308f\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nphpinfo();\n?&gt;<\/code><\/pre>\n\n\n\n<p>\u5168\u3066\u306e\u30b5\u30a4\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30b5\u30fc\u30d0\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5207\u308a\u66ff\u3048\u3001\u5909\u66f4\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u5143\u306b\u623b\u3059\u3053\u3068\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u3055\u304f\u3089\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u3067\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u304b\u3089\u7c21\u5358\u306bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4e00\u62ec\u5207\u308a\u66ff\u3048\u304c\u3067\u304d\u308b\u3002\u3057\u304b\u3057\u3001\uff11\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u8907\u6570\u306eWordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u30b1\u30fc\u30b9\u3067\u306f\u3001\u30b5\u30a4\u30c8\u3054\u3068\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3057\u306a\u304c\u3089\u30d0 [&hellip;]","protected":false},"author":1,"featured_media":145,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[39],"tags":[53,52,40,10],"class_list":["post-139","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-backend","tag-php","tag-wordpress","tag-sakura-rs","tag-memo"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/shugomatsuzawa.com\/techblog\/wp-content\/uploads\/sites\/3\/2022\/10\/office-work-g85cdc6ed4_1920.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/comments?post=139"}],"version-history":[{"count":5,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":156,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/posts\/139\/revisions\/156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/media\/145"}],"wp:attachment":[{"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shugomatsuzawa.com\/techblog\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}