{"id":2773,"date":"2016-07-10T23:01:05","date_gmt":"2016-07-10T14:01:05","guid":{"rendered":"http:\/\/higherhope.net\/?p=2773"},"modified":"2016-07-10T23:04:27","modified_gmt":"2016-07-10T14:04:27","slug":"centos7php71%e3%81%a7php-fpm%e3%81%ae%e3%82%b9%e3%83%86%e3%83%bc%e3%82%bf%e3%82%b9%e3%82%92%e5%8f%96%e5%be%97","status":"publish","type":"post","link":"https:\/\/higherhope.net\/?p=2773","title":{"rendered":"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97"},"content":{"rendered":"<p>centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97<br \/>\n\u3084\u3063\u305f\u3053\u3068\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2<\/p>\n<p>\u74b0\u5883<\/p>\n<blockquote><p># cat \/etc\/redhat-release<br \/>\nCentOS Linux release 7.2.1511 (Core)<\/p><\/blockquote>\n<blockquote><p># php71 -v<br \/>\nPHP 7.1.0alpha3 (cli) (built: Jul  6 2016 10:49:24) ( NTS )<br \/>\nCopyright (c) 1997-2016 The PHP Group<br \/>\nZend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies<\/p><\/blockquote>\n<p>php-fpm\u306e\u8a2d\u5b9a\u3092\u5909\u3048\u308b<br \/>\n# vim \/etc\/php-fpm.d\/www.conf<br \/>\n\u4ee5\u4e0b\u3092\u4fee\u6b63<\/p>\n<blockquote><p>;pm.status_path = \/status<br \/>\npm.status_path = \/status<\/p><\/blockquote>\n<p>web\u3067status\u753b\u9762\u304c\u898b\u308c\u308b\u3088\u3046\u306bnginx\u306econf\u3092\u4fee\u6b63<\/p>\n<blockquote><p>\n# vim \/etc\/nginx\/conf.d\/default.conf<br \/>\n    location \/status {<br \/>\n        include fastcgi_params;<br \/>\n        fastcgi_pass   unix:\/var\/run\/php-fpm.sock;<br \/>\n        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;<br \/>\n        allow \u8a31\u53ef\u3059\u308bIP;<br \/>\n        deny all;<br \/>\n    }<\/p><\/blockquote>\n<p>\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5<\/p>\n<blockquote><p># systemctl restart php-fpm<br \/>\n# systemctl restart nginx<\/p><\/blockquote>\n<p>http:\/\/\u3069\u3081\u3044\u3093\/status<br \/>\n\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3053\u3093\u306a\u753b\u9762\u304c\u51fa\u3066\u304d\u305f\u3089\u7d42\u4e86<\/p>\n<blockquote><p>pool:                 www<br \/>\nprocess manager:      dynamic<br \/>\nstart time:           10\/Jul\/2016:22:46:40 +0900<br \/>\nstart since:          2<br \/>\naccepted conn:        1<br \/>\nlisten queue:         0<br \/>\nmax listen queue:     0<br \/>\nlisten queue len:     0<br \/>\nidle processes:       4<br \/>\nactive processes:     1<br \/>\ntotal processes:      5<br \/>\nmax active processes: 1<br \/>\nmax children reached: 0<br \/>\nslow requests:        0<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97 \u3084\u3063\u305f\u3053\u3068\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2 \u74b0\u5883 # cat \/etc\/redhat-release CentOS Linux release 7.2.1511 (Core) &#8230; <a class=\"continue-reading-link\" href=\"https:\/\/higherhope.net\/?p=2773\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[140,4,18],"tags":[166,173],"class_list":["post-2773","post","type-post","status-publish","format-standard","hentry","category-centos7","category-linux","category-nginx","tag-linux","tag-nginx"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/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:\/\/higherhope.net\/?p=2773\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:description\" content=\"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97 \u3084\u3063\u305f\u3053\u3068\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2 \u74b0\u5883 # cat \/etc\/redhat-release CentOS Linux release 7.2.1511 (Core) ... Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/higherhope.net\/?p=2773\" \/>\n<meta property=\"og:site_name\" content=\"\u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-10T14:01:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-10T14:04:27+00:00\" \/>\n<meta name=\"author\" content=\"higherhope\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@higherhope5963\" \/>\n<meta name=\"twitter:site\" content=\"@higherhope5963\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"higherhope\" \/>\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:\/\/higherhope.net\/?p=2773#article\",\"isPartOf\":{\"@id\":\"https:\/\/higherhope.net\/?p=2773\"},\"author\":{\"name\":\"higherhope\",\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af\"},\"headline\":\"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97\",\"datePublished\":\"2016-07-10T14:01:05+00:00\",\"dateModified\":\"2016-07-10T14:04:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/higherhope.net\/?p=2773\"},\"wordCount\":129,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af\"},\"keywords\":[\"linux\",\"nginx\"],\"articleSection\":[\"CentOS7\",\"linux\",\"nginx\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/higherhope.net\/?p=2773#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/higherhope.net\/?p=2773\",\"url\":\"https:\/\/higherhope.net\/?p=2773\",\"name\":\"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\",\"isPartOf\":{\"@id\":\"https:\/\/higherhope.net\/#website\"},\"datePublished\":\"2016-07-10T14:01:05+00:00\",\"dateModified\":\"2016-07-10T14:04:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/higherhope.net\/?p=2773#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/higherhope.net\/?p=2773\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/higherhope.net\/?p=2773#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/higherhope.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/higherhope.net\/#website\",\"url\":\"https:\/\/higherhope.net\/\",\"name\":\"\u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\",\"description\":\"\u304a\u3063\u3055\u3093\u307e\u3060\u307e\u3060\u697d\u3067\u304d\u307e\u305b\u3093\u3002\",\"publisher\":{\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/higherhope.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af\",\"name\":\"higherhope\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/higherhope.net\/wp-content\/uploads\/2018\/09\/DSC_0367.jpg\",\"contentUrl\":\"https:\/\/higherhope.net\/wp-content\/uploads\/2018\/09\/DSC_0367.jpg\",\"width\":700,\"height\":394,\"caption\":\"higherhope\"},\"logo\":{\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/higherhope5963\"],\"url\":\"https:\/\/higherhope.net\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","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:\/\/higherhope.net\/?p=2773","og_locale":"ja_JP","og_type":"article","og_title":"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","og_description":"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97 \u3084\u3063\u305f\u3053\u3068\u5fd8\u308c\u308b\u306e\u3067\u30e1\u30e2 \u74b0\u5883 # cat \/etc\/redhat-release CentOS Linux release 7.2.1511 (Core) ... Continue reading &rarr;","og_url":"https:\/\/higherhope.net\/?p=2773","og_site_name":"\u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","article_published_time":"2016-07-10T14:01:05+00:00","article_modified_time":"2016-07-10T14:04:27+00:00","author":"higherhope","twitter_card":"summary_large_image","twitter_creator":"@higherhope5963","twitter_site":"@higherhope5963","twitter_misc":{"\u57f7\u7b46\u8005":"higherhope","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/higherhope.net\/?p=2773#article","isPartOf":{"@id":"https:\/\/higherhope.net\/?p=2773"},"author":{"name":"higherhope","@id":"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af"},"headline":"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97","datePublished":"2016-07-10T14:01:05+00:00","dateModified":"2016-07-10T14:04:27+00:00","mainEntityOfPage":{"@id":"https:\/\/higherhope.net\/?p=2773"},"wordCount":129,"commentCount":0,"publisher":{"@id":"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af"},"keywords":["linux","nginx"],"articleSection":["CentOS7","linux","nginx"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/higherhope.net\/?p=2773#respond"]}]},{"@type":"WebPage","@id":"https:\/\/higherhope.net\/?p=2773","url":"https:\/\/higherhope.net\/?p=2773","name":"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","isPartOf":{"@id":"https:\/\/higherhope.net\/#website"},"datePublished":"2016-07-10T14:01:05+00:00","dateModified":"2016-07-10T14:04:27+00:00","breadcrumb":{"@id":"https:\/\/higherhope.net\/?p=2773#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/higherhope.net\/?p=2773"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/higherhope.net\/?p=2773#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/higherhope.net\/"},{"@type":"ListItem","position":2,"name":"centos7+php71\u3067php-fpm\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97"}]},{"@type":"WebSite","@id":"https:\/\/higherhope.net\/#website","url":"https:\/\/higherhope.net\/","name":"\u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","description":"\u304a\u3063\u3055\u3093\u307e\u3060\u307e\u3060\u697d\u3067\u304d\u307e\u305b\u3093\u3002","publisher":{"@id":"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/higherhope.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af","name":"higherhope","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/higherhope.net\/#\/schema\/person\/image\/","url":"https:\/\/higherhope.net\/wp-content\/uploads\/2018\/09\/DSC_0367.jpg","contentUrl":"https:\/\/higherhope.net\/wp-content\/uploads\/2018\/09\/DSC_0367.jpg","width":700,"height":394,"caption":"higherhope"},"logo":{"@id":"https:\/\/higherhope.net\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/x.com\/higherhope5963"],"url":"https:\/\/higherhope.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/posts\/2773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/higherhope.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2773"}],"version-history":[{"count":2,"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/posts\/2773\/revisions"}],"predecessor-version":[{"id":2775,"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/posts\/2773\/revisions\/2775"}],"wp:attachment":[{"href":"https:\/\/higherhope.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/higherhope.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/higherhope.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}