{"id":1738,"date":"2017-11-30T10:00:44","date_gmt":"2017-11-30T01:00:44","guid":{"rendered":"https:\/\/column.prime-strategy.co.jp\/?p=1738"},"modified":"2017-11-30T10:00:44","modified_gmt":"2017-11-30T01:00:44","slug":"1738","status":"publish","type":"post","link":"https:\/\/kusanagi.tokyo\/column\/archives\/column_1738","title":{"rendered":"KUSANAGI \u30ef\u30f3\u30dd\u30a4\u30f3\u30c8Tips \u5404PHP\u74b0\u5883\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240"},"content":{"rendered":"<p>KUSANAGI\u306f3\u7a2e\u985e\uff08php5.6,php7,hhvm\uff09\u306ePHP\u306e\u74b0\u5883\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002<br \/>\n\u305d\u308c\u305e\u308c\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u3053\u306b\u3042\u308b\u304b\u5fd8\u308c\u304c\u3061\u306a\u306e\u3067\u3001\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"\u5229\u7528\u3057\u3066\u3044\u308b\u74b0\u5883\u306e\u78ba\u8a8d\"><span class=\"ez-toc-section\" id=\"%E5%88%A9%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E7%92%B0%E5%A2%83%E3%81%AE%E7%A2%BA%E8%AA%8D\"><\/span>\u5229\u7528\u3057\u3066\u3044\u308b\u74b0\u5883\u306e\u78ba\u8a8d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u307e\u305a\u306f\u81ea\u5206\u304c\u5229\u7528\u3057\u3066\u3044\u308b\u74b0\u5883\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre><code>kusanagi status\n<\/code><\/pre>\n<p>\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u78ba\u8a8d\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code>Type: lamp\nKUSANAGI Version 8.1.0-1\n-----\n\n*** nginx ***\n\u25cf nginx.service - The NGINX HTTP and reverse proxy server\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/nginx.service; enabled; vendor preset: disabled)\n   Active: active (running) since \u706b 2017-11-21 16:47:52 JST; 5 days ago\n\n*** Apache2 ***\n\u25cf httpd.service - The Apache HTTP Server\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/httpd.service; disabled; vendor preset: disabled)\n   Active: inactive (dead)\n\n*** HHVM ***\n\u25cf hhvm.service - HHVM virtual machine, runtime, and JIT for the PHP language\n   Loaded: loaded (\/etc\/systemd\/system\/hhvm.service; disabled; vendor preset: disabled)\n   Active: inactive (dead)\n\n*** php-fpm ***\n\u25cf php-fpm.service - The PHP FastCGI Process Manager\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/php-fpm.service; disabled; vendor preset: disabled)\n   Active: inactive (dead)\n\n*** php7-fpm ***\n\u25cf php7-fpm.service - The PHP FastCGI Process Manager\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/php7-fpm.service; enabled; vendor preset: disabled)\n   Active: active (running) since \u706b 2017-11-21 16:47:52 JST; 5 days ago\n\n*** ruby ***\nKUSANAGI Ruby is not installed yet\n\n*** Cache Status ***\n\nfcache off\n\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\n<\/code><\/pre>\n<p>\u3053\u3053\u306eActive\u90e8\u5206\u304c active (running) \u306b\u306a\u3063\u3066\u3044\u308b\u3082\u306e\u304c\u73fe\u5728\u6709\u52b9\u306aphp\u306e\u74b0\u5883\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u4f8b\u306e\u5834\u5408\u306fphp7\u3067\u3059\u3002<\/p>\n<h2 id=\"hhvm\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\"><span class=\"ez-toc-section\" id=\"hhvm%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB\"><\/span>hhvm\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>HHVM\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u4ee5\u4e0b\u306e\u5834\u6240\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code>\/etc\/hhvm\/php.ini\n<\/code><\/pre>\n<p>HHVM\u306e\u8a2d\u5b9a\u306f\u901a\u5e38\u306ePHP\u3068\u306f\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u3001\u5909\u66f4\u3059\u308b\u969b\u306fHHVM\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a title=\"HHVM Configuration: INI Settings\" href=\"https:\/\/docs.hhvm.com\/hhvm\/configuration\/INI-settings\">HHVM Configuration: INI Settings<\/a><\/p>\n<h2 id=\"php56\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\"><span class=\"ez-toc-section\" id=\"php56%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB\"><\/span>php5.6\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>php5.6\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u4ee5\u4e0b\u306e\u5834\u6240\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code>\/etc\/php.ini\n\/etc\/php-fpm.conf\n\/etc\/php-fpm.d\/www.conf\n<\/code><\/pre>\n<p>PHP-FPM\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u305f\u30813\u7b87\u6240\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u57fa\u672c\u7684\u306aPHP\u306e\u8a2d\u5b9a\u306fphp.ini\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"php7\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\"><span class=\"ez-toc-section\" id=\"php7%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB\"><\/span>php7\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>php7\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u4ee5\u4e0b\u306e\u5834\u6240\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code>\/etc\/php7.d\/php.ini\n\/etc\/php7-fpm.conf\n\/etc\/php7-fpm.d\/www.conf\n<\/code><\/pre>\n<p>\u3053\u3061\u3089\u3082\u57fa\u672c\u7684\u306a\u8a2d\u5b9a\u306fphp.ini\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"\u307e\u3068\u3081\"><span class=\"ez-toc-section\" id=\"%E3%81%BE%E3%81%A8%E3%82%81\"><\/span>\u307e\u3068\u3081<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3069\u306e\u74b0\u5883\u306e\u8a2d\u5b9a\u3082\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fWordPress\u306b\u5408\u308f\u305b\u3066\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3055\u308c\u305f\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\nLAMP\u5229\u7528\u3067\u5225\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u3001php.ini\u306e\u5909\u66f4\u304c\u5fc5\u8981\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u306f\u899a\u3048\u3066\u304a\u304f\u3068\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>KUSANAGI\u306f3\u7a2e\u985e\uff08php5.6,php7,hhvm\uff09\u306ePHP\u306e\u74b0\u5883\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002 \u305d\u308c\u305e\u308c\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u3053\u306b\u3042\u308b\u304b\u5fd8\u308c\u304c\u3061\u306a\u306e ... <a title=\"KUSANAGI \u30ef\u30f3\u30dd\u30a4\u30f3\u30c8Tips \u5404PHP\u74b0\u5883\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\" class=\"read-more\" href=\"https:\/\/kusanagi.tokyo\/column\/archives\/column_1738\" aria-label=\"KUSANAGI \u30ef\u30f3\u30dd\u30a4\u30f3\u30c8Tips \u5404PHP\u74b0\u5883\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240 \u306b\u3064\u3044\u3066\u3055\u3089\u306b\u8aad\u3080\">Read more<\/a><\/p>\n","protected":false},"author":12,"featured_media":1746,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[6],"tags":[],"series":[],"journey":[],"product":[],"class_list":["post-1738","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33","no-featured-image-padding"],"_links":{"self":[{"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/posts\/1738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/comments?post=1738"}],"version-history":[{"count":0,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/posts\/1738\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/media\/1746"}],"wp:attachment":[{"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/media?parent=1738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/categories?post=1738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/tags?post=1738"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/series?post=1738"},{"taxonomy":"journey","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/journey?post=1738"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/product?post=1738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}