{"id":8895,"date":"2019-09-17T09:00:57","date_gmt":"2019-09-17T00:00:57","guid":{"rendered":"http:\/\/www.mizutan.com\/wordpress\/?p=8895"},"modified":"2025-01-25T15:07:10","modified_gmt":"2025-01-25T06:07:10","slug":"post-8895","status":"publish","type":"post","link":"https:\/\/www.mizutan.com\/wordpress\/?p=8895","title":{"rendered":"PHP\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3067\u30a8\u30e9\u30fc\u7d9a\u51fa\u3001\u4f55\u3068\u304b\u30af\u30ea\u30a2\u3057\u305f\u304c\u30fb\u30fb"},"content":{"rendered":"\n<p>php7\u3078\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3001\u3044\u308d\u3044\u308d\u8abf\u3079\u308b\u3068\u3001\u6700\u65b0\u306ewordpress\u306f\u3001php7\u306b\u3059\u3079\u304d\u306a\u3093\u3066\u8a18\u4e8b\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<br><br>2017\u5e741\u67085\u65e5\u306e\u8a18\u4e8b\u3067\u3059\u304c\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u8457\u8005\u304c\u7d50\u8ad6\u3068\u3057\u3066\u3001\u300cPHP7\u306b\u3059\u3079\u304d\u3067\u3042\u308b\u3002\u300d\u3068\u8a00\u3063\u3066\u3044\u307e\u3059\u3002\u4e8b\u5b9f\u3092\uff13\u3064\u307b\u3069\u6319\u3052\u3066\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/capitalp.jp\/2017\/01\/05\/when-to-upgrade-php7\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"\u3044\u3064WordPress\u3092PHP7\u306b\u3059\u3079\u304d\u304b\uff1f (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">\u3044\u3064WordPress\u3092PHP7\u306b\u3059\u3079\u304d\u304b\uff1f<\/a><\/p>\n\n\n\n<p>60\u723a\u3067\u3059\u304c\u3001\u306a\u305c\u3001php7\u3078\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u8003\u3048\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u7406\u7531\u306f\u7c21\u5358\u3067\u3059\u3002<br><br>\u4eca\u56de\u3001\u30c6\u30fc\u30de\u3092\u7121\u6599\u306e sinmplicity2 \u304b\u3089 The Thor \u306b\u5909\u66f4\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u305d\u306e\uff11\u756a\u76ee\u306b\uff30\uff28\uff30\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30017.0 \u4ee5\u4e0a\u3067\u3042\u308b\u3053\u3068\u3068\u8a18\u3055\u308c\u3066\u3044\u305f\u304b\u3089\u3067\u3059\uff01<\/p>\n\n\n\n<!-- WP QUADS v. 2.0.98  Shortcode Ad -->\n<div class=\"quads-location quads-ad\" id=\"quads-ad\" style=\"float:none;margin:0px 0 0px 0;text-align:center;\">\n\u30b9\u30dd\u30f3\u30b5\u30fc\u30ea\u30f3\u30af\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1169427325398969\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<!-- www_\u30a4\u30f3\u30c8\u30ed -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-1169427325398969\"\r\n     data-ad-slot=\"1208333098\"\r\n     data-ad-format=\"rectangle\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><br><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading is-style-vk-heading-double_black\">\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5\u306e\u8abf\u67fb<\/h2>\n\n\n\n<p>\u65e9\u3005\u306b\u300160\u723a\u306e\uff30\uff28\uff30\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8abf\u3079\u3066\u307f\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\uff15\uff0e\uff16\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u306f\u3001 The Thor \u306e\u5b9f\u884c\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>mizutan@raspbian:~ $ sudo php -v\npassword for mizutan:\nPHP 5.6.40-0+deb8u4 (cli) (built: Jun  3 2019 18:18:27)\nCopyright (c) 1997-2016 The PHP Group\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\n     with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies <\/code><\/pre><\/div>\n\n\n\n<p>\u30c1\u30e3\u30c1\u30e3\u30c3\u3068\u52d5\u304b\u3057\u3066\u307f\u308b\u624b\u306f\u3042\u3063\u305f\u306e\u3067\u3059\u304c\u3001wordpress \u304c\u52d5\u304b\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u8a18\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5371\u3046\u3044\u6240\u3067\u65ad\u5ff5\u3057\u307e\u3057\u305f\u3002<br><br>\u305d\u3053\u3067\u3001\uff30\uff28\uff30\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5\u3092\u3044\u308d\u3044\u308d\u3068\u8abf\u3079\u305f\u306e\u3067\u3059\u304c\u3001RaspberryPi \u306b\u304a\u3051\u308b\u826f\u3055\u305d\u3046\u306a\u8a18\u4e8b\u304c\u898b\u3064\u3051\u3089\u308c\u305a\u3001\u3088\u3046\u3084\u304f\u203b\u53c2\u8003\uff11\u306e\u8a18\u4e8b\u306b\u305f\u3069\u308a\u7740\u304d\u307e\u3057\u305f\u3002<br><br>\u3053\u306e\u8a18\u4e8b\u306b\u5f93\u3063\u3066\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading is-style-vk-heading-double_black\">\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3078\u306e\u9053\uff01<\/h2>\n\n\n\n<p><span data-color=\"#ffff00\" style=\"background: linear-gradient(transparent 60%,rgba(255, 255, 0, 0.7) 0);\" class=\"vk_highlighter\">60\u723a\u304c\u3001\u3053\u3046\u3044\u3046\u3053\u3068\u3092\u3084\u308b\u3068\u3001\u5fc5\u305a\u4f55\u304b\u304c\u8d77\u3053\u308a\u307e\u3059\u3002\u30cd\u30ac\u30c6\u30a3\u30d6\u306a\u8003\u3048\u3092\u3057\u3066\u306f\u3044\u3051\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u5927\u4f53\u8a18\u4e8b\u901a\u308a\u3001\u3059\u3093\u306a\u308a\u7d42\u4e86\u3059\u308b\u3053\u3068\u306f\u7a00<\/span>\u306a\u3093\u3067\u3059\u3002<br><br>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001php7.1.7\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3069\u3046\u305b\u306a\u3089\u3001\u6700\u65b0\u7248\u306b\u3057\u3088\u3046\u3068 php7.3.7 \u3092\u9078\u3073\u307e\u3057\u305f\u3002<br><br>\u8a18\u4e8b\u3068\u9055\u3046\u3053\u3068\u3092\u3084\u308b\u306a\u3093\u3066\u300160\u723a\u81ea\u3089\u6b7b\u5730\u3092\u9078\u3093\u3067\u3044\u308b\u306e\u3067\u306f\u3068\u8a00\u308f\u308c\u3066\u3082\u4ed5\u65b9\u3042\u308a\u307e\u305b\u3093\u306d\u3002<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fe0000\" class=\"has-inline-color\">\u6848\u306e\u5b9a\u3001\u30a8\u30e9\u30fc\u306e\u5d50\u306b\u906d\u9047<\/mark><\/strong>\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">.\/configuare\u3067\u30ef\u30fc\u30cb\u30f3\u30b0<\/h3>\n\n\n\n<p>\u307e\u305a\u3001\u30ef\u30fc\u30cb\u30f3\u30b0\u767a\u751f\u3067\u3059\uff01<\/p>\n\n\n\n<div class=\"wp-block-luxe-blocks-border-block\" style=\"margin-top:10px;margin-bottom:30px\"><div class=\"wp-block-luxe-blocks-border-block-content\" style=\"border:2px solid #006edc;border-radius:0px;padding:0px 15px 0px 15px\"><p>\u4e0a\u8a18\u8a18\u4e8b\u3067\u306f\u3001\u300c\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3089\u9811\u5f35\u3063\u3066\u304f\u3060\u3055\u3044\u300d\u3068\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p><\/div><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>configure: WARNING: unrecognized options: --with-mcrypt, --with-t1lib, --enable-gd-native-ttf, --with-mysql<\/code><\/pre><\/div>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u3053\u308c\u3089\u306f\u8abf\u3079\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4e0d\u8981\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u306e\u3067\u7121\u8996\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"has-light-green-cyan-background-color has-background\">&#8211;with-mcrypt<br>\n\u6700\u65b0\u7248\u306fopenssl\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u5fc5\u9808\u3067\u306f\u306a\u3044\u305d\u3046\u3067\u3059<\/p>\n\n\n\n<p class=\"has-light-green-cyan-background-color has-background\">&#8211;with-t1lib<br>\nPHP 7.0.0 \u3067\u524a\u9664\u3055\u308c\u307e\u3057\u305f<\/p>\n\n\n\n<p class=\"has-light-green-cyan-background-color has-background\">&#8211;enable-gd-native-ttf<br>\n\u3053\u308c\u306f PHP 5.5.0 \u4ee5\u964d\u3067\u306f\u4f55\u306e\u52b9\u679c\u3082\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002PHP 7.2.0 \u3067\u524a\u9664\u3055\u308c\u308b\u4e88\u5b9a\u3067\u3059<\/p>\n\n\n\n<!-- WP QUADS v. 2.0.98  Shortcode Ad -->\n<div class=\"quads-location quads-ad\" id=\"quads-ad\" style=\"float:none;margin:0px 0 0px 0;text-align:center;\">\n\u30b9\u30dd\u30f3\u30b5\u30fc\u30ea\u30f3\u30af\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1169427325398969\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-1169427325398969\"\r\n     data-ad-slot=\"8169621401\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><br><\/div>\n\n\n\n\n<h3 class=\"wp-block-heading\">.\/configuare\u3067\u30d5\u30a1\u30a4\u30ebapxs2\u4e0d\u660e<\/h3>\n\n\n\n<p>\u6b21\u306b\u3053\u3044\u3064\u3067\u3059\u3002apxs2 \u304c\u306a\u3044\uff01<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Sorry, I cannot run apxs.  Possible reasons follow:\n\n1.Perl is not installed\n2.apxs was not found. Try to pass the path using --with-apxs2=\/path\/to\/apxs\n3.Apache was not built using --enable-so (the apxs usage page is displayed)\n\nThe output of \/usr\/bin\/apxs2 follows:\n.\/configure: line 6311: \/usr\/bin\/apxs2: No such file or directory<\/code><\/pre><\/div>\n\n\n\n<p>\u78ba\u304b\u306b\u3001\u30d5\u30a9\u30eb\u30c0 \/usr\/bin\/ \u3092\u898b\u3066\u3082\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb apxs2 \u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u304d\u3063\u3068\u4f55\u304b\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u8db3\u308a\u3066\u3044\u306a\u3044\u3068\u601d\u308f\u308c\u307e\u3059\u3002<br><br>\u30b0\u30b0\u308a\u307e\u304f\u308a\u307e\u3057\u305f\u304c\u3001\u306a\u304b\u306a\u304b\u6b63\u89e3\u306b\u305f\u3069\u308a\u7740\u304d\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001\u8ae6\u3081\u305a\u306b\u6563\u3005\u8abf\u3079\u305f\u6319\u53e5\u3001\u203b\u53c2\u8003\uff12\u306e\u8a18\u4e8b\u306e\u4e2d\u306b\u305d\u308c\u3089\u3057\u304d\u3082\u306e\u3092\u898b\u3064\u3051\u3001\u4ee5\u4e0b\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u5bfe\u5fdc\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"has-pale-cyan-blue-background-color has-background\">apxs2 \u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u3001\u4ee5\u4e0b\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br>prefork \u306a\u3089 apache2-prefork-dev<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u3001aps2 \u304c\u306a\u3044\u30a8\u30e9\u30fc\u306f\u89e3\u6d88\u3055\u308c\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">.\/configuare\u3067libzip\u304c\u306a\u3044<\/h3>\n\n\n\n<p>\u3055\u3066\u3001\u3053\u308c\u3067\u3001.\/configuare \u304c\u6b63\u5e38\u7d42\u4e86\u3059\u308b\u304b\u3068\u601d\u3044\u304d\u3084\u3001\u65b0\u305f\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>checking for the location of zlib\u2026 \/usr\nchecking for pkg-config\u2026 (cached) \/usr\/bin\/pkg-config\nchecking for libzip\u2026 not found\nconfigure: error: Please reinstall the libzip distribution<\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-border-block\" style=\"margin-top:10px;margin-bottom:30px\"><div class=\"wp-block-luxe-blocks-border-block-content\" style=\"border:2px solid #006edc;border-radius:0px;padding:0px 15px 0px 15px\"><p>libzip\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3088\u3046\u4fc3\u3055\u308c\u307e\u3057\u305f\u304c\u3001\u8abf\u67fb\u3057\u305f\u3068\u3053\u308d\u3001\u3053\u308c\u306f\u306a\u304f\u3066\u3082\u554f\u984c\u304c\u306a\u3055\u305d\u3046\u306a\u306e\u3067\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u304b\u3089 &#8211;enable-zip \u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002<\/p><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">.\/configuare\u3088\u3046\u3084\u304f\uff2f\uff2b<\/h3>\n\n\n\n<p>\u3055\u3066\u3001\u518d\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001.\/configuare \u304c\u6b63\u5e38\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Configuring TSRM\n\nConfiguring libtool\n\nGenerating files\n\nconfigure: creating .\/config.status\ncreating main\/internal_functions.c\ncreating main\/internal_functions_cli.c\n +--------------------------------------------------------------------+\n |                        *** WARNING ***                             |\n |                                                                    |\n | You have built PHP for Apache&#39;s current non-threaded MPM.          |\n | If you change Apache to use a threaded MPM you must reconfigure    |\n | PHP with --enable-maintainer-zts                                   |\n +--------------------------------------------------------------------+\n | License:                                                           |\n | This software is subject to the PHP License, available in this     |\n | distribution in the file LICENSE.  By continuing this installation |\n | process, you are bound by the terms of this license agreement.     |\n | If you do not agree with the terms of this license, you must abort |\n | the installation process at this point.                            |\n +--------------------------------------------------------------------+\nThank you for using PHP.\n\nconfig.status: creating php7.spec\nconfig.status: creating main\/build-defs.h\nconfig.status: creating scripts\/phpize\nconfig.status: creating scripts\/man1\/phpize.1\nconfig.status: creating scripts\/php-config\nconfig.status: creating scripts\/man1\/php-config.1\nconfig.status: creating sapi\/cli\/php.1\nconfig.status: creating sapi\/phpdbg\/phpdbg.1\nconfig.status: creating sapi\/cgi\/php-cgi.1\nconfig.status: creating ext\/phar\/phar.1\nconfig.status: creating ext\/phar\/phar.phar.1\nconfig.status: creating main\/php_config.h\nconfig.status: executing default commands\nconfigure: WARNING: unrecognized options: --with-mcrypt, --with-t1lib, --enable-gd-native-ttf, --with-mysql<\/code><\/pre><\/div>\n\n\n\n<p>\u3075\u3046\u30fb\u30fb\u30fb\uff01\u7b2c\u4e00\u95a2\u9580\u7a81\u7834\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">make test \u3068 make install<\/h3>\n\n\n\n<p>\u53c2\u8003\u306b\u3057\u305f\u8a18\u4e8b\u3067\u306f\u3001make test \u3092\u6642\u9593\u306e\u95a2\u4fc2\u3067\u5b9f\u884c\u3057\u306a\u304b\u3063\u305f\u3068\u3044\u3063\u3066\u3044\u307e\u3059\u304c\u300160\u723a\u306f\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br><br>\u7279\u306b\u554f\u984c\u306a\u304f\u5b8c\u4e86\u3057\u307e\u3057\u305f\u306e\u3067\u3001\u7d9a\u3051\u3066 make install \u3092\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002<br><br>\u3053\u3061\u3089\u3082\u7279\u306b\u554f\u984c\u306a\u304f\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>root@raspbian:~\/php7\/php-7.3.7# make install\n Installing PHP SAPI module:       apache2handler\n \/usr\/share\/apache2\/build\/instdso.sh SH_LIBTOOL=&#39;\/usr\/share\/apr-1.0\/build\/libtool&#39; libphp7.la \/usr\/lib\/apache2\/modules\n \/usr\/share\/apr-1.0\/build\/libtool --mode=install install libphp7.la \/usr\/lib\/apache2\/modules\/\n libtool: install: install .libs\/libphp7.so \/usr\/lib\/apache2\/modules\/libphp7.so\n libtool: install: install .libs\/libphp7.lai \/usr\/lib\/apache2\/modules\/libphp7.la\n libtool: install: warning: remember to run libtool --finish \/root\/php7\/php-7.3.7\/libs&#39; chmod 644 \/usr\/lib\/apache2\/modules\/libphp7.so \n[preparing module `php7&#39; in \/etc\/apache2\/mods-available\/php7.load]\nEnabling module php7.\n To activate the new configuration, you need to run:\n   service apache2 restart\n Installing shared extensions:     \/opt\/php7\/lib\/php\/extensions\/no-debug-non-zts-20180731\/\n Installing PHP CLI binary:        \/opt\/php7\/bin\/\n Installing PHP CLI man page:      \/opt\/php7\/php\/man\/man1\/\n Installing phpdbg binary:         \/opt\/php7\/bin\/\n Installing phpdbg man page:       \/opt\/php7\/php\/man\/man1\/\n Installing PHP CGI binary:        \/opt\/php7\/bin\/\n Installing PHP CGI man page:      \/opt\/php7\/php\/man\/man1\/\n Installing build environment:     \/opt\/php7\/lib\/php\/build\/\n Installing header files:          \/opt\/php7\/include\/php\/\n Installing helper programs:       \/opt\/php7\/bin\/\n   program: phpize\n   program: php-config\n Installing man pages:             \/opt\/php7\/php\/man\/man1\/\n   page: phpize.1\n   page: php-config.1\n Installing PEAR environment:      \/opt\/php7\/lib\/php\/\n [PEAR] Archive_Tar    - installed: 1.4.7\n [PEAR] Console_Getopt - installed: 1.4.2\n [PEAR] Structures_Graph- installed: 1.1.1\n [PEAR] XML_Util       - installed: 1.4.3\n [PEAR] PEAR           - installed: 1.10.9\n Wrote PEAR system config file at: \/opt\/php7\/etc\/pear.conf\n You may want to add: \/opt\/php7\/lib\/php to your php.ini include_path\n \/root\/php7\/php-7.3.7\/build\/shtool install -c ext\/phar\/phar.phar \/opt\/php7\/bin\n ln -s -f phar.phar \/opt\/php7\/bin\/phar\n Installing PDO headers:           \/opt\/php7\/include\/php\/ext\/pdo\/ <\/code><\/pre><\/div>\n\n\n\n<p><strong>make test\u3001make install\u306f\u7121\u4e8b\u306b\u901a\u3063\u305f\u306e\u3067\u4e00\u606f\u4ed8\u3051\u307e\u3057\u305f<\/strong>\u306d\uff01<\/p>\n\n\n\n<!-- WP QUADS v. 2.0.98  Shortcode Ad -->\n<div class=\"quads-location quads-ad\" id=\"quads-ad\" style=\"float:none;margin:0px 0 0px 0;text-align:center;\">\n\u30b9\u30dd\u30f3\u30b5\u30fc\u30ea\u30f3\u30af\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1169427325398969\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-1169427325398969\"\r\n     data-ad-slot=\"9186857477\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading is-style-vk-heading-double_black\">\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u78ba\u8a8d<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">php7\u6709\u52b9\u5316\u3001php5\u7121\u52b9\u5316<\/h3>\n\n\n\n<p>php7\u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>root@raspbian:~\/php7\/php-7.3.7# a2enmod php7\nModule php7 already enabled<\/code><\/pre><\/div>\n\n\n\n<p>\u7d9a\u3051\u3066\u3001php5\u3092\u7121\u52b9\u5316\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>root@raspbian:~\/php7\/php-7.3.7# a2dismod php5\nModule php5 disabled.\nTo activate the new configuration, you need to run:\n   service apache2 restart<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30f3\u30d5\u30a3\u30b0\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210<\/h3>\n\n\n\n<p>\u8a18\u4e8b\u306b\u5f93\u3044\u3001\u30b3\u30f3\u30d5\u30a3\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>root@raspbian:~\/php7\/php-7.3.7# cd \/etc\/apache2\/conf-available\nroot@raspbian:\/etc\/apache2\/conf-available# vi php7.conf\n\uff1cIfModule php7_module\uff1e\n    AddType application\/x-httpd-php .php\n    AddType application\/x-httpd-php-source .phps\n\uff1cIfModule\uff1e <\/code><\/pre><\/div>\n\n\n\n<p>\u7d9a\u3051\u3066\u3001\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u7d42\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>root@raspbian:\/etc\/apache2\/conf-available# a2enconf php7\nEnabling conf php7.\nTo activate the new configuration, you need to run:\n   service apache2 reload\nroot@raspbian:\/etc\/apache2\/conf-available# apache2ctl restart\nAH00558: apache2: Could not reliably determine the server&#39;s fully qualified domain name, using 127.0.1.1. Set the &#39;ServerName&#39; directive globally to suppress this message<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3067\u3001apache2 \u3092\u518d\u8d77\u52d5\u3057\u3066\u3001\u3055\u3042\u3001\u3084\u308b\u3053\u3068\u306f\u3084\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u3001php \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u4e0a\u304c\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<br><br>\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\/var\/www\/html\/ \u914d\u4e0b\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;?php\nphpinfo();\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u305d\u306e\u7d50\u679c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u304c 7.3.7 \u3068\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"224\" src=\"https:\/\/www.mizutan.com\/wordpress\/wp-content\/uploads\/2019\/09\/phpinfo.jpg\" alt=\"\" class=\"wp-image-8896\" srcset=\"https:\/\/www.mizutan.com\/wordpress\/wp-content\/uploads\/2019\/09\/phpinfo.jpg 320w, https:\/\/www.mizutan.com\/wordpress\/wp-content\/uploads\/2019\/09\/phpinfo-300x210.jpg 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n<\/div>\n\n\n<p>\u3057\u304b\u3057\u3001\u30b3\u30de\u30f3\u30c9\u3060\u3068\u76f8\u5909\u308f\u3089\u305a php5 \u306b\u306a\u3063\u3061\u3083\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>mizutan@raspbian:~ $ sudo php -v\npassword for mizutan:\nPHP 5.6.40-0+deb8u4 (cli) (built: Jun  3 2019 18:18:27)\nCopyright (c) 1997-2016 The PHP Group\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\n     with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies <\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u306f\u3001PATH\u304c\u901a\u3063\u3066\u3044\u306a\u3044\u305b\u3044\u3067\u3059\u306d\u3002\u3072\u3068\u307e\u305a\u3001\u3053\u306e\u307e\u307e\u3067\u30fb\u30fb\u30fb<\/p>\n\n\n\n<p class=\"has-lightyellow-background-color has-background\">\u203b\u30d6\u30ed\u30b0\u904b\u55b6\u3067\u906d\u9047\u3057\u305f\u6570\u3005\u306e\u30a8\u30e9\u30fc\u3092\u4e00\u6319\u516c\u958b\u3057\u305f\u8a18\u4e8b\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u30d6\u30ed\u30b0\u904b\u55b6\u306e\u30d2\u30f3\u30c8\u306b\u306a\u308b\u3084\u3082\u3057\u308c\u305a\u3001\u4e00\u5ea6\u3001\u3054\u8a2a\u554f\u304f\u3060\u3055\u3044\u3002<br>\u21d2 <a href=\"https:\/\/www.mizutan.com\/wordpress\/?p=28081\" target=\"_blank\" rel=\"noreferrer noopener\">wordpress\u3067\u306e\u30a8\u30e9\u30fc\u5bfe\u5fdc\uff01\u30d6\u30ed\u30b0\u904b\u55b6\u3067\u906d\u9047\u3057\u305f\u969c\u5bb3\u3092\u5168\u90e8\u307f\u305b\u307e\u3059<\/a><\/p>\n\n\n\n<!-- WP QUADS v. 2.0.98  Shortcode Ad -->\n<div class=\"quads-location quads-ad\" id=\"quads-ad\" style=\"float:none;margin:0px 0 0px 0;text-align:center;\">\n\u30b9\u30dd\u30f3\u30b5\u30fc\u30ea\u30f3\u30af\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1169427325398969\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<!-- www_\u8a18\u4e8b\u4e2d\uff13 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-1169427325398969\"\r\n     data-ad-slot=\"8208817721\"\r\n     data-ad-format=\"rectangle\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><br><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading is-style-vk-heading-double_black\">\u6700\u5f8c\u306b<\/h2>\n\n\n\n<p>php7\u3078\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3001\u3044\u308d\u3044\u308d\u8abf\u3079\u308b\u3068\u3001\u6700\u65b0\u306ewordpress\u306f\u3001php7\u306b\u3059\u3079\u304d\u306a\u3093\u3066\u8a18\u4e8b\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<br><br>the Thor\u3068\u3044\u3046\u30c6\u30fc\u30de\u3092\u4f7f\u304a\u3046\u304b\u3068\u8003\u3048\u3066\u3044\u305f\u3093\u3067\u3059\u304c\u3001\u3053\u306e\u30c6\u30fc\u30de\u306e\u8981\u6c42\u3059\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u3053\u308c\u306a\u3093\u3067\u3059\u306d\u3002<br><br>\u305d\u3053\u3067\u3001\u30cd\u30c3\u30c8\u3092\u8abf\u3079\u305f\u6319\u53e5\u3001\u53c2\u8003\u3067\u6319\u3052\u305f\u30b5\u30a4\u30c8\u3092\u898b\u3064\u3051\u3001\u305d\u308c\u306b\u5f93\u3063\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306b\u53d6\u308a\u639b\u304b\u308a\u307e\u3057\u305f\u3002<br><br>\u8a18\u4e8b\u306b\u6319\u3052\u305f\u3088\u3046\u306b\u3001\u6563\u3005\u306a\u76ee\u306b\u906d\u3044\u306a\u304c\u3089\u3001\u3088\u3046\u3084\u304f\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3067\u304d\u307e\u3057\u305f\u3002\u75b2\u308c\u305f\uff01<\/p>\n\n\n\n<p>\u25a0\u601d\u3048\u3070\u300c\u30d6\u30ed\u30b0\u904b\u55b6\u300d\u306e\u8a18\u4e8b\u3082\u5897\u3048\u3066\u304d\u307e\u3057\u305f<\/p>\n\n\n\n<div class=\"blogcard\"><a href=\"https:\/\/www.mizutan.com\/wordpress\/?cat=307\" data-blogcard=\"1\">\u30d6\u30ed\u30b0\u904b\u55b6<\/a><\/div>\n\n\n\n<p>\u203b\u53c2\u8003<br><a rel=\"noreferrer noopener\" aria-label=\"\uff11\uff0eRaspbian\u3067\u516c\u5f0fphp7\u3092\u30d3\u30eb\u30c9 &amp; \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/aonasuzutsuki.hatenablog.jp\/entry\/2017\/07\/24\/005028\" target=\"_blank\">\uff11\uff0eRaspbian\u3067\u516c\u5f0fphp7\u3092\u30d3\u30eb\u30c9 &amp; \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/a><br><a rel=\"noreferrer noopener\" aria-label=\"\uff12\uff0eDebian8(jessie)\u306bphp7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066Apache2.4\u3067\u52d5\u304b\u3059 (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/vivibit.net\/debian-php7\/\" target=\"_blank\">\uff12\uff0eDebian8(jessie)\u306bphp7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066Apache2.4\u3067\u52d5\u304b\u3059<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>php7\u3078\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3001\u3044\u308d\u3044\u308d\u8abf\u3079\u308b\u3068\u3001\u6700\u65b0\u306ewordpress\u306f\u3001php7\u306b\u3059\u3079\u304d\u306a\u3093\u3066\u8a18\u4e8b\u304c\u51fa\u3066\u304d\u307e\u3059\u3002 2017\u5e741\u67085\u65e5\u306e\u8a18\u4e8b\u3067\u3059\u304c\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u8457\u8005\u304c\u7d50\u8ad6\u3068\u3057\u3066\u3001\u300cPHP7\u306b\u3059\u3079\u304d\u3067\u3042\u308b\u3002\u300d\u3068\u8a00\u3063\u3066\u3044 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8899,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[307],"tags":[],"class_list":["post-8895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog_unnei"],"_links":{"self":[{"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/8895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8895"}],"version-history":[{"count":5,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/8895\/revisions"}],"predecessor-version":[{"id":28107,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/8895\/revisions\/28107"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/8899"}],"wp:attachment":[{"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}