{"id":12317,"date":"2019-10-17T19:04:46","date_gmt":"2019-10-17T10:04:46","guid":{"rendered":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317"},"modified":"2024-05-20T18:05:49","modified_gmt":"2024-05-20T09:05:49","slug":"nginx%e3%81%a7php%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317","title":{"rendered":"Nginx\u3067PHP\u3092\u52d5\u304b\u3059"},"content":{"rendered":"<p><a href=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4.png\" data-rel=\"lightbox-gallery-80dhsRa4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4.png\" alt=\"aaa\" width=\"689\" height=\"434\" class=\"aligncenter size-full wp-image-12448\" srcset=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4.png 689w, https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4-300x189.png 300w\" sizes=\"auto, (max-width: 689px) 100vw, 689px\" \/><\/a><\/p>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>PHP\u3092\u3046\u3054\u304b\u3059\u305f\u3081\u306b\u306f\u3001<br \/>\n\u30fbcgi\u3092\u3064\u304b\u3046<br \/>\n\u30fbphp\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u3064\u304b\u3046<\/p>\n<p>\u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001<br \/>\napache\u306e\u5834\u5408\uff1aapache\u306ephp\u306e\u30e2\u30b8\u30e5\u30fc\u30eb(mod_php)\u304cphp\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd<br \/>\nnginx\u306b\u306fPHP\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u306a\u3044\u305f\u3081\u3001cgi\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u52d5\u304b\u3059\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30fbPHP-FPM\u3068\u3044\u3046\u306e\u306f\u3001PHP-FastCGI Process Manager\u306e\u7565\u3067\u3001cgi\u3067\u3059\u3002<br \/>\n\u30fbPHP-FPM(=FastCGI\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9) \u2192 \u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u3063\u3066\u3001PHP\u3092\u52d5\u4f5c\u3092\u3055\u305b\u307e\u3059<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001nginx\u3067php\u3092\u52d5\u304b\u3059\u305f\u3081\u306e\u8a2d\u5b9a\u3068\u3001<br \/>\nnginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u3001\u304b\u3053\u3046\u3068\u304a\u3082\u3044\u307e\u3059\u3002<\/p>\n<p>\u25bc cgi\u65b9\u5f0f<br \/>\nnginx\u304cphp-fpm\u306bphp\u306e\u51e6\u7406\u3092\u4f9d\u983c\u3057\u3001php-fpm\u304cphp\u3092\u51e6\u7406\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/nginx.png\" data-rel=\"lightbox-gallery-80dhsRa4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/nginx.png\" alt=\"nginx\" width=\"641\" height=\"289\" class=\"aligncenter size-full wp-image-12398\" srcset=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/nginx.png 641w, https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/nginx-300x135.png 300w\" sizes=\"auto, (max-width: 641px) 100vw, 641px\" \/><\/a><\/p>\n<p>\u25bc\u8a2d\u5b9a\u65b9\u6cd5<br \/>\n\u30fb\u3053\u3053\u3067\u306f\u3001nginx\u2192php-fpm\u306e\u901a\u4fe1\u306fUnix\u30c9\u30e1\u30a4\u30f3\u30bd\u30b1\u30c3\u30c8\u901a\u4fe1\u3067\u3059<\/p>\n<h2>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<\/h2>\n<h3>nginx\u306e\u8a2d\u5b9a<\/h3>\n<h4>\/etc\/nginx\/nginx.conf<\/h4>\n<p>\u30fbphp\u30d5\u30a1\u30a4\u30eb\u3092FastCGI(php-fpm)\u3067\u63a5\u7d9a\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nserver {\r\n    location ~ \\.php$ {\r\n        root           \/usr\/share\/nginx\/html;\r\n        fastcgi_pass   unix:\/var\/run\/php-fpm\/php-fpm.sock;\r\n        fastcgi_index  index.php;\r\n        fastcgi_param  SCRIPT_FILENAME\r\n        $document_root$fastcgi_script_name;\r\n        include        fastcgi_params;\r\n    }\r\n}\r\n<\/pre>\n<p><\/br><\/p>\n<h3>php-fpm\u306e\u8a2d\u5b9a<\/h3>\n<h4>\/etc\/php-fpm\/www.conf<\/h4>\n<p>\u30fbnginx\u2192php-fpm\u306e\u5b9f\u884c\u30e6\u30fc\u30b6\u306fnginx<br \/>\n\u30fbnginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306efastcgi_pass\u306b\u8a2d\u5b9a\u3092\u3057\u305f\/var\/run\/php-fpm\/php-fpm.sock\u3000\u306e\u5b9f\u884c\u30e6\u30fc\u30b6\u3082nginx\u306b\u3057\u307e\u3059<br \/>\n\u30fbsock\u30d5\u30a1\u30a4\u30eb\u304c\u306a\u3044\u3068\u304d\u306f\u3001php-fpm\u3092\u8d77\u52d5\u3055\u305b\u305f\u3068\u304d\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nuser = nginx\r\ngroup = nginx\r\nlisten = \/var\/run\/php-fpm\/php-fpm.sock\r\nlisten.owner = nginx\r\nlisten.group = nginx\r\n\u3000\u30fb\r\n\u3000\u30fb\r\n\r\n<\/pre>\n<p><\/br><\/p>\n<p><a href=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/tempsnip.png\" data-rel=\"lightbox-gallery-80dhsRa4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/tempsnip.png\" alt=\"tempsnip\" width=\"1024\" height=\"100\" class=\"aligncenter size-full wp-image-12408\" \/><\/a><br \/>\n\u30fbnginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3068fastcgi_pass\u306elisten\u3092\u305d\u308d\u3048\u308b\u306e\u304c\u809d\u3067\u3059<\/p>\n<h3>\u6700\u5f8c\u306bnginx\u3068php-fpm\u3092\u518d\u8d77\u52d5<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nservice nginx restart\r\nservice php-fpm restart\r\n<\/pre>\n<p>\n\u30fb\u3053\u308c\u3067PHP\u304c\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3059<\/p>\n<h2>\u304a\u307e\u3051<\/h2>\n<h3>IP\u5236\u5fa1\uff1a.htaccess<\/h3>\n<p>\u30fbnginx\u306b\u306f.htaccess\u3068\u3044\u3046\u8003\u3048\u65b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u30fbapache\u3067\u306f.htaccess\u306b\u304b\u3044\u3066\u30b5\u30fc\u30d0\u306b\u30a2\u30c3\u30d7\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304c\u3001nginx\u306e\u5834\u5408\u306f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8a2d\u5b9a\u3092\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<br \/>\n<\/br><\/p>\n<h3>\u3042\u308bIP\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u304d<\/h3>\n<h4>apache\uff1a.htaccess<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nOrder allow,deny\r\nAllow from all\r\nDeny from \u30a2\u30af\u30bb\u30b9\u62d2\u5426\u3057\u305f\u3044IP\r\n<\/pre>\n<h4>nginx\uff1a\u8a18\u8ff0\u306e\u4e0a\u304b\u3089\u8a55\u4fa1\u3055\u308c\u307e\u3059<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nlocation \/ {\r\n    deny \u30a2\u30af\u30bb\u30b9\u62d2\u5426\u3057\u305f\u3044IP;\r\n    allow all;\r\n}\r\n<\/pre>\n<p><\/br><\/p>\n<h3>\u3042\u308bIP\u304b\u3089\u306e\u307f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u304d<\/h3>\n<h4>apache\uff1a.htaccess<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nOrder deny,allow\r\nDeny from all\r\nAllow from \u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u3059\u308bIP\r\n<\/pre>\n<h4>nginx\uff1a\u8a18\u8ff0\u306e\u4e0a\u304b\u3089\u8a55\u4fa1\u3055\u308c\u307e\u3059<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nlocation \/ {\r\n    allow \u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u3059\u308bIP;\r\n    deny all;\r\n}\r\n<\/pre>\n<p><\/br><\/p>\n<h3>\u9593\u9055\u3063\u305f\u8a18\u6cd5<\/h3>\n<h4>\u8a18\u8ff0\u306e\u4e0a\u304b\u3089\u8a55\u4fa1\u3055\u308c\u308b\u305f\u3081\u3001\u3069\u3053\u304b\u3089\u3082\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nlocation \/ {\r\n    deny all;\r\n    allow \u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u3059\u308bIP;\r\n}\r\n<\/pre>\n<p>\u30fb\u3053\u306e\u3088\u3046\u306b\u3001apache\u3067\u306f.htaccess\u3067\u5bfe\u5fdc\u3057\u3066\u3044\u305f\u3053\u3068\u3092\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u5165\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<br \/>\n<\/p>\n<h2>\u304a\u307e\u3051\uff12\uff1alocation\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6<\/h2>\n<p>\u30fbnginx\u306flocation\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3067\u8a2d\u5b9a\u3092\u9069\u7528\u3059\u308broot\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<br \/>\n\u30fb\u305f\u3068\u3048\u3070\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306bserver\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u4e0b\u306b\u8a2d\u5b9a\u3092\u3057\u305froot\u306f\u30b5\u30a4\u30c8\u5171\u901a\u306eroot\u3068\u3057\u3066\u6271\u308f\u308c\u307e\u3059\u304c\u3001<br \/>\n\u3000location\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u5185\u306b\u500b\u5225\u306broot\u3092\u8a2d\u5b9a\u3092\u3059\u308b\u3068\u3001\u305d\u306elocation\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u5185\u3067\u306f\u3001\u3053\u306eroot\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30fb\u4e0b\u8a18\u306e\u5185\u5bb9\u3067\u3044\u3048\u3070\u3001phpMyAdmin\u306b\u5bfe\u3057\u3066\u306eIP\u5236\u9650\u304c\u9069\u7528\u3055\u308c\u308b\u30d1\u30b9\u306f\u3001<br \/>\n\u3000\/usr\/share\/nginx\/html\/moodle\/phpMyAdmin\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nserver {\r\n    #server\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u4e0b\u306b\u66f8\u304f\u3068\u5171\u901a\u3068\u3057\u3066\u306eroot\u306b\u306a\u308a\u307e\u3059\r\n    root \/usr\/share\/nginx\/html\/hoge;\r\n\r\n    location \/phpMyAdmin {\r\n        root  \/usr\/share\/nginx\/html\/moodle;\r\n        allow \u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u3059\u308bIP;\r\n        deny all;\r\n    }\r\n\r\n}\r\n<\/pre>\n<p>\n\u304a\u307e\u3051\u306e\u65b9\u304c\u9577\u304f\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.instagram.com\/spiceworks_jp\/\" style=\"text-decoration: underline\" target=\"\u201d_blank\u201d\" rel=\"noopener\">\u30a4\u30f3\u30b9\u30bf\u30b0\u30e9\u30e0\u3092\u3084\u3063\u3066\u3044\u308b\u306e\u3067\u3088\u304b\u3063\u305f\u3089\u30d5\u30a9\u30ed\u30fc\u304a\u9858\u3044\u3057\u307e\u3059\uff01<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u306f\u3058\u3081\u306b PHP\u3092\u3046\u3054\u304b\u3059\u305f\u3081\u306b\u306f\u3001 \u30fbcgi\u3092\u3064\u304b\u3046 \u30fbphp\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u3064\u304b\u3046 \u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001 apache\u306e\u5834\u5408\uff1aapache\u306ephp\u306e\u30e2\u30b8\u30e5\u30fc\u30eb(mod_php)\u304cphp\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd nginx [&hellip;]","protected":false},"author":28,"featured_media":12448,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,4,454],"tags":[43,417,418,419,420,421,422],"class_list":["post-12317","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ed-tech","category-website","category-dx","tag-php","tag-nginx","tag-htaccess","tag-web","tag-apache","tag-fastcgi","tag-php-fpm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Nginx\u3067PHP\u3092\u52d5\u304b\u3059 - spiceworks Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nginx\u3067PHP\u3092\u52d5\u304b\u3059 - spiceworks Blog\" \/>\n<meta property=\"og:description\" content=\"\u306f\u3058\u3081\u306b PHP\u3092\u3046\u3054\u304b\u3059\u305f\u3081\u306b\u306f\u3001 \u30fbcgi\u3092\u3064\u304b\u3046 \u30fbphp\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u3064\u304b\u3046 \u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001 apache\u306e\u5834\u5408\uff1aapache\u306ephp\u306e\u30e2\u30b8\u30e5\u30fc\u30eb(mod_php)\u304cphp\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd nginx [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317\" \/>\n<meta property=\"og:site_name\" content=\"spiceworks Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-17T10:04:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-20T09:05:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4.png\" \/>\n\t<meta property=\"og:image:width\" content=\"689\" \/>\n\t<meta property=\"og:image:height\" content=\"434\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u4e95\u6238\u5ddd \u7766\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4e95\u6238\u5ddd \u7766\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317\"},\"author\":{\"name\":\"\u4e95\u6238\u5ddd \u7766\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#\\\/schema\\\/person\\\/66d065a576b35e0669e1036558174aa1\"},\"headline\":\"Nginx\u3067PHP\u3092\u52d5\u304b\u3059\",\"datePublished\":\"2019-10-17T10:04:46+00:00\",\"dateModified\":\"2024-05-20T09:05:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317\"},\"wordCount\":230,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/aaa4.png\",\"keywords\":[\"PHP\",\"nginx\",\".htaccess\",\"web\u30b5\u30fc\u30d0\",\"apache\",\"FastCGI\",\"php-fpm\"],\"articleSection\":[\"EdTech\",\"Web\u5236\u4f5c\u30fb\u30b7\u30b9\u30c6\u30e0\",\"DX\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317\",\"name\":\"Nginx\u3067PHP\u3092\u52d5\u304b\u3059 - spiceworks Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/aaa4.png\",\"datePublished\":\"2019-10-17T10:04:46+00:00\",\"dateModified\":\"2024-05-20T09:05:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#\\\/schema\\\/person\\\/66d065a576b35e0669e1036558174aa1\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317#primaryimage\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/aaa4.png\",\"contentUrl\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/aaa4.png\",\"width\":689,\"height\":434},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?p=12317#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Nginx\u3067PHP\u3092\u52d5\u304b\u3059\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/\",\"name\":\"spiceworks Blog\",\"description\":\"&quot;\u4f1d\u308f\u308b&quot;\u3092\u30c7\u30b6\u30a4\u30f3\u3059\u308b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/#\\\/schema\\\/person\\\/66d065a576b35e0669e1036558174aa1\",\"name\":\"\u4e95\u6238\u5ddd \u7766\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/80fbc6bb57a9c47bfff0ab3499b768e9b87957338d95dad88a93e7ac2b1678e9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/80fbc6bb57a9c47bfff0ab3499b768e9b87957338d95dad88a93e7ac2b1678e9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/80fbc6bb57a9c47bfff0ab3499b768e9b87957338d95dad88a93e7ac2b1678e9?s=96&d=mm&r=g\",\"caption\":\"\u4e95\u6238\u5ddd \u7766\"},\"url\":\"https:\\\/\\\/www.spiceworks.co.jp\\\/blog\\\/?author=28\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nginx\u3067PHP\u3092\u52d5\u304b\u3059 - spiceworks Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317","og_locale":"ja_JP","og_type":"article","og_title":"Nginx\u3067PHP\u3092\u52d5\u304b\u3059 - spiceworks Blog","og_description":"\u306f\u3058\u3081\u306b PHP\u3092\u3046\u3054\u304b\u3059\u305f\u3081\u306b\u306f\u3001 \u30fbcgi\u3092\u3064\u304b\u3046 \u30fbphp\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u3064\u304b\u3046 \u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001 apache\u306e\u5834\u5408\uff1aapache\u306ephp\u306e\u30e2\u30b8\u30e5\u30fc\u30eb(mod_php)\u304cphp\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd nginx [&hellip;]","og_url":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317","og_site_name":"spiceworks Blog","article_published_time":"2019-10-17T10:04:46+00:00","article_modified_time":"2024-05-20T09:05:49+00:00","og_image":[{"width":689,"height":434,"url":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4.png","type":"image\/png"}],"author":"\u4e95\u6238\u5ddd \u7766","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u4e95\u6238\u5ddd \u7766","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317#article","isPartOf":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317"},"author":{"name":"\u4e95\u6238\u5ddd \u7766","@id":"https:\/\/www.spiceworks.co.jp\/blog\/#\/schema\/person\/66d065a576b35e0669e1036558174aa1"},"headline":"Nginx\u3067PHP\u3092\u52d5\u304b\u3059","datePublished":"2019-10-17T10:04:46+00:00","dateModified":"2024-05-20T09:05:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317"},"wordCount":230,"commentCount":0,"image":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4.png","keywords":["PHP","nginx",".htaccess","web\u30b5\u30fc\u30d0","apache","FastCGI","php-fpm"],"articleSection":["EdTech","Web\u5236\u4f5c\u30fb\u30b7\u30b9\u30c6\u30e0","DX"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.spiceworks.co.jp\/blog\/?p=12317#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317","url":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317","name":"Nginx\u3067PHP\u3092\u52d5\u304b\u3059 - spiceworks Blog","isPartOf":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317#primaryimage"},"image":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4.png","datePublished":"2019-10-17T10:04:46+00:00","dateModified":"2024-05-20T09:05:49+00:00","author":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/#\/schema\/person\/66d065a576b35e0669e1036558174aa1"},"breadcrumb":{"@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.spiceworks.co.jp\/blog\/?p=12317"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317#primaryimage","url":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4.png","contentUrl":"https:\/\/www.spiceworks.co.jp\/blog\/wp-content\/uploads\/2019\/10\/aaa4.png","width":689,"height":434},{"@type":"BreadcrumbList","@id":"https:\/\/www.spiceworks.co.jp\/blog\/?p=12317#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.spiceworks.co.jp\/blog"},{"@type":"ListItem","position":2,"name":"Nginx\u3067PHP\u3092\u52d5\u304b\u3059"}]},{"@type":"WebSite","@id":"https:\/\/www.spiceworks.co.jp\/blog\/#website","url":"https:\/\/www.spiceworks.co.jp\/blog\/","name":"spiceworks Blog","description":"&quot;\u4f1d\u308f\u308b&quot;\u3092\u30c7\u30b6\u30a4\u30f3\u3059\u308b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.spiceworks.co.jp\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.spiceworks.co.jp\/blog\/#\/schema\/person\/66d065a576b35e0669e1036558174aa1","name":"\u4e95\u6238\u5ddd \u7766","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/80fbc6bb57a9c47bfff0ab3499b768e9b87957338d95dad88a93e7ac2b1678e9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/80fbc6bb57a9c47bfff0ab3499b768e9b87957338d95dad88a93e7ac2b1678e9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/80fbc6bb57a9c47bfff0ab3499b768e9b87957338d95dad88a93e7ac2b1678e9?s=96&d=mm&r=g","caption":"\u4e95\u6238\u5ddd \u7766"},"url":"https:\/\/www.spiceworks.co.jp\/blog\/?author=28"}]}},"_links":{"self":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12317"}],"version-history":[{"count":130,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12317\/revisions"}],"predecessor-version":[{"id":23651,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12317\/revisions\/23651"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/media\/12448"}],"wp:attachment":[{"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spiceworks.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}