{"id":9892,"date":"2019-02-18T12:38:20","date_gmt":"2019-02-18T03:38:20","guid":{"rendered":"https:\/\/www.itblog.jp\/?p=9892"},"modified":"2019-02-18T12:38:38","modified_gmt":"2019-02-18T03:38:38","slug":"php-v%e3%81%a7%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%82%8b%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%81%a8%e3%80%81phpinfo%e3%81%a7%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%82%8bphp%e3%81%ae","status":"publish","type":"post","link":"https:\/\/www.itblog.jp\/?p=9892","title":{"rendered":"php -v\u3067\u8868\u793a\u3055\u308c\u308bphp\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3001phpinfo()\u3067\u8868\u793a\u3055\u308c\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u9055\u3046\u5bfe\u51e6"},"content":{"rendered":"<p>\u30b5\u30fc\u30d0\u306fkusanagi\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001<\/p>\n<p>phpinfo();<\/p>\n<p>\u3067\u8868\u793a\u3055\u308c\u308bphp\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f7\u7cfb\u306a\u306e\u306b\u3001<\/p>\n<p>\u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067<\/p>\n<p>php -v<\/p>\n<p>\u3067\u8868\u793a\u3055\u308c\u308b\u306e\u306f\u30015\u7cfb\u3068\u3044\u3046\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u4e8b\u8c61\u306b\u906d\u9047\u3057\u3066\u56f0\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3067\u4f55\u6545\u56f0\u308b\u304b\u3068\u3044\u3046\u3068\u3001Composer\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u3068\u304d\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u304b\u3089\u3067\u3059<\/p>\n<p>\u3053\u306eComposer\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u306f\u3001php\u306e7\u7cfb\u304c\u5fc5\u8981\u3060\u3088<\/p>\n<p>\u307f\u305f\u3044\u306a\u30a8\u30e9\u30fc\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001phpinfo()\u3067\u78ba\u8a8d\u3059\u308b\u3068\u4f7f\u3063\u3066\u3044\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f7\u7cfb\u3067\u3001\u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b<br \/>\nComposer\u306f5\u7cfb\u306ePHP\u3092\u898b\u3066\u3044\u308b\u3088\u3046\u3060\u3068\u3044\u3046\u8b0e\u3067\u3059\u3002<\/p>\n<p>\u8abf\u3079\u3066\u307f\u308b\u3068\u3001Kusanagi\u306ePHP\u306f\u3001Web\u30b5\u30fc\u30d0\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b\u306e\u306fPHP-fpm\u3068\u3044\u3046CGI\u7248\u306ePHP\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b\u306e\u306f\u3001apache\u7d4c\u7531\u3067\u30e2\u30b8\u30e5\u30fc\u30eb\u7248\u306ephp5\u7cfb\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b\u3068\u304b\u3068\u3046\u3044\u3063\u305f\u304b\u3093\u3058\u306e\u73fe\u8c61\u306e\u3088\u3046\u3067\u3057\u305f\u3002<\/p>\n<p>Kusanagi\u306e\u30b5\u30fc\u30d0\u3067\u306f\u3001root\u3067\u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066<\/p>\n<p>kuasanagi php7<\/p>\n<p>\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067php7\u306e\u5b9f\u884c\u74b0\u5883\u306b\u5207\u308a\u66ff\u308f\u308b\u3088\u3046\u3067\u3059\u304c\u3001apache\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u7248\u306fphp7\u306b\u306a\u3063\u3066\u3044\u306a\u3044\uff1f\uff1f<\/p>\n<p>\u3068\u3044\u3046\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u8abf\u3079\u308b\u3068\u3001Kusanagi\u3067\u306f\u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066<\/p>\n<p>yum update<\/p>\n<p>\u3067\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u7248\u3082PHP7\u306b\u5207\u308a\u66ff\u308f\u308b\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u3063\u305f\u306e\u3067\u3001\u8a66\u3057\u3066\u307f\u308b\u3068\u3001<\/p>\n<p>yum update\u3067\u30a8\u30e9\u30fc<\/p>\n<p>\u3067\u3001\u3053\u308c\u306f\u30b5\u30fc\u30d0\u306ePython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30923\u7cfb\u306b\u4e0a\u3052\u3066\u3044\u305f\u306e\u3067\u3001Python2\u7cfb\u3067\u66f8\u304b\u308c\u3066\u3044\u308byum\u304c\u30a8\u30e9\u30fc\u3092\u8d77\u3053\u3057\u3066\u3044\u308b\u69d8\u5b50<br \/>\n\u3053\u308c\u306f\u3001\u3044\u308d\u3044\u308d\u3068\u3050\u3050\u308b\u3053\u3068\u3067\u5bfe\u5fdc\u65b9\u6cd5\u304c\u51fa\u3066\u304d\u305f\u306e\u3067\u3001yum\u306e\u30bd\u30fc\u30b9\u3067\u3001Python\u306e\u30d1\u30b9\u304c\u66f8\u3044\u3066\u3042\u308b\u3068\u3053\u308d\u3092\u3001<br \/>\n\u30b5\u30fc\u30d0\u306b\u6b8b\u3063\u3066\u3044\u308bPython2\u7cfb\u3078\u306e\u30d1\u30b9\u306b\u4f55\u7b87\u6240\u304b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067 yum update\u3000\u304c\u5b9f\u884c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001\u6e80\u3092\u6301\u3057\u3066<\/p>\n<p>php -v<\/p>\n<p>\u3092\u5b9f\u884c\u3002\u3059\u308b\u3068\u3001\u307e\u305f\u3082<\/p>\n<p>php 5.6\u301c\u301c\u301c<\/p>\n<p>\u3068\u3002\u3048\u3001php7\u306b\u5909\u308f\u3063\u3066\u306a\u3044\u30fb\u30fb\u30fb\uff1f<\/p>\n<p>\u3044\u3063\u305f\u3093\u8ae6\u3081\u3066\u304b\u3089\u7fcc\u65e5\u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066<\/p>\n<p>php -v<\/p>\n<p>\u3092\u3082\u3046\u4e00\u5ea6\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068<\/p>\n<p>PHP 7.3.1 (cli)<\/p>\n<p>\u3068\u3001\u7121\u4e8b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u307e\u3057\u305f\u3002<\/p>\n<p>\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u3067\u3059\u304c\u3001yum update\u3057\u3066\u304b\u3089\u30b5\u30fc\u30d0\u306b\u53cd\u6620\u3055\u308c\u308b\u306e\u306b<br \/>\n\u6642\u9593\u304c\u5fc5\u8981\u3060\u3063\u305f\uff1f\u307f\u305f\u3044\u3067\u3001apache\u3092\u518d\u8d77\u52d5\u3059\u308b\u3053\u3068\u3067\u53cd\u6620\u3055\u308c\u305f\u306e\u304b\u3001<br \/>\n\u3088\u304f\u5206\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u4f55\u306b\u305b\u3088\u6642\u9593\u7d4c\u904e\u3067\u53cd\u6620\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3088\u304f\u5206\u304b\u308a\u307e\u305b\u3093\u304c\u3001Composer\u3067\u5b9f\u884c\u3057\u3066\u3044\u305fPHP\u306f\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u7248\u3068\u3044\u3046\u3088\u308a\u3082\u3001CLI\u7248<br \/>\n\u3068\u3044\u3046PHP\u306e\u3088\u3046\u3067\u3001\u78ba\u304b\u306bphp -v\u3092\u3059\u308b\u3068<\/p>\n<p>PHP \u30d0\u30fc\u30b8\u30e7\u30f3(cli)<\/p>\n<p>\u3068\u3001cli\u3092\u5f8c\u306b\u3064\u3044\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u3053\u306eCLI\u7248\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5f71\u97ff\u3057\u3066\u3044\u305f\u3088\u3046\u3067\u3059\u304c\u3001\u4f55\u306b\u305b\u3088\u4eca\u56de\u306e\u30b1\u30fc\u30b9\u3067\u306f<br \/>\nyum update\u3000\u3067\u7121\u4e8b\u89e3\u6c7a\u3057\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u5f8c\u3001<\/p>\n<p>Composer update<\/p>\n<p>\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u7121\u4e8b\u30a8\u30e9\u30fc\u306b\u306a\u3089\u305a\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30fc\u30d0\u306fkusanagi\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001 phpinfo(); \u3067\u8868\u793a\u3055\u308c\u308bphp\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f7\u7cfb\u306a\u306e\u306b\u3001 \u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067 php -v \u3067\u8868\u793a\u3055\u308c\u308b\u306e\u306f\u30015\u7cfb\u3068\u3044\u3046\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u4e8b\u8c61\u306b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[144,131],"tags":[],"class_list":["post-9892","post","type-post","status-publish","format-standard","hentry","category-php-","category-131"],"_links":{"self":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9892"}],"version-history":[{"count":0,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9892\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}