{"id":1852,"date":"2018-11-13T01:02:08","date_gmt":"2018-11-12T16:02:08","guid":{"rendered":"http:\/\/helloidea.org\/?p=1852"},"modified":"2018-11-13T02:18:52","modified_gmt":"2018-11-12T17:18:52","slug":"php5%e3%81%8b%e3%82%897-0%e3%81%ab%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88%e3%81%97%e3%81%9f%e3%82%89wordpress%e3%81%8c%e6%97%a9%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f","status":"publish","type":"post","link":"https:\/\/helloidea.org\/index.php\/archives\/1852.html","title":{"rendered":"php5\u304b\u30897.0\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u3089wordpress\u304c\u65e9\u304f\u306a\u3063\u305f"},"content":{"rendered":"<p>php5\u6642\u70b9\u3067\u306eApacheBench<\/p>\n<pre class=\"brush: bash; collapse: true; highlight: [24]; light: false; title: ; toolbar: true; notranslate\" title=\"\">\r\n$ ab -n 100 -c 20 https:\/\/helloidea.org\/XXXX\r\nThis is ApacheBench, Version 2.3 &lt;$Revision: 1706008 $&gt;\r\nCopyright 1996 Adam Twiss, Zeus Technology Ltd, http:\/\/www.zeustech.net\/\r\nLicensed to The Apache Software Foundation, http:\/\/www.apache.org\/\r\n\r\nBenchmarking helloidea.org (be patient).....done\r\n\r\n\r\nServer Software:        Apache\/2.4.25\r\nServer Hostname:        helloidea.org\r\nServer Port:            443\r\nSSL\/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128\r\n\r\nDocument Path:          \/XXXX\r\nDocument Length:        78540 bytes\r\n\r\nConcurrency Level:      20\r\nTime taken for tests:   1.997 seconds\r\nComplete requests:      100\r\nFailed requests:        10\r\n   (Connect: 0, Receive: 0, Length: 10, Exceptions: 0)\r\nTotal transferred:      7870988 bytes\r\nHTML transferred:       7853988 bytes\r\nRequests per second:    50.07 &#x5B;#\/sec] (mean)\r\nTime per request:       399.423 &#x5B;ms] (mean)\r\nTime per request:       19.971 &#x5B;ms] (mean, across all concurrent requests)\r\nTransfer rate:          3848.81 &#x5B;Kbytes\/sec] received\r\n\r\nConnection Times (ms)\r\n              min  mean&#x5B;+\/-sd] median   max\r\nConnect:       80  301  79.0    305     444\r\nProcessing:    34   70  24.6     62     136\r\nWaiting:        7   23  14.3     18      71\r\nTotal:        129  370  83.9    374     546\r\n\r\nPercentage of the requests served within a certain time (ms)\r\n  50%    374\r\n  66%    414\r\n  75%    422\r\n  80%    436\r\n  90%    458\r\n  95%    490\r\n  98%    542\r\n  99%    546\r\n 100%    546 (longest request)\r\n<\/pre>\n<p>php7.0\u5909\u66f4\u5f8c\u306eApacheBench<\/p>\n<pre class=\"brush: bash; collapse: true; highlight: [24]; light: false; title: ; toolbar: true; notranslate\" title=\"\">\r\n$ ab -n 100 -c 20 https:\/\/helloidea.org\/XXXX\r\nThis is ApacheBench, Version 2.3 &lt;$Revision: 1706008 $&gt;\r\nCopyright 1996 Adam Twiss, Zeus Technology Ltd, http:\/\/www.zeustech.net\/\r\nLicensed to The Apache Software Foundation, http:\/\/www.apache.org\/\r\n\r\nBenchmarking helloidea.org (be patient).....done\r\n\r\n\r\nServer Software:        Apache\/2.4.25\r\nServer Hostname:        helloidea.org\r\nServer Port:            443\r\nSSL\/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128\r\n\r\nDocument Path:          \/XXXX\r\nDocument Length:        84958 bytes\r\n\r\nConcurrency Level:      20\r\nTime taken for tests:   0.967 seconds\r\nComplete requests:      100\r\nFailed requests:        89\r\n   (Connect: 0, Receive: 0, Length: 89, Exceptions: 0)\r\nTotal transferred:      8510241 bytes\r\nHTML transferred:       8493241 bytes\r\nRequests per second:    103.38 &#x5B;#\/sec] (mean)\r\nTime per request:       193.454 &#x5B;ms] (mean)\r\nTime per request:       9.673 &#x5B;ms] (mean, across all concurrent requests)\r\nTransfer rate:          8592.00 &#x5B;Kbytes\/sec] received\r\n\r\nConnection Times (ms)\r\n              min  mean&#x5B;+\/-sd] median   max\r\nConnect:       58  131  49.8    120     313\r\nProcessing:    15   46  31.7     37     164\r\nWaiting:        4   17  10.6     13      40\r\nTotal:        105  177  51.1    165     343\r\n\r\nPercentage of the requests served within a certain time (ms)\r\n  50%    165\r\n  66%    191\r\n  75%    200\r\n  80%    205\r\n  90%    262\r\n  95%    297\r\n  98%    321\r\n  99%    343\r\n 100%    343 (longest request)\r\n<\/pre>\n<p>\u7d04\uff12\u500d\u307b\u3069\u65e9\u304f\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u30ad\u30e3\u30c3\u30b7\u30e5\u7cfb\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u3082\u3046\u4e0d\u8981\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u3002<br \/>\n\u3082\u3063\u3068\u65e9\u304f\u6c17\u3065\u304d\u305f\u304b\u3063\u305f&#8230;<\/p>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\napt install php7.0\r\napt install php5-mysql\r\napt install libapache2-mod-php7.0\r\napt install php7.0-gd\r\napt install php7.0-xml\r\napt install php7.0-xmlrpc\r\napt install php7.0-mbstring\r\n<\/pre>\n<p>php5\u304b\u3089php7.0\u3078\u306e\u5207\u308a\u66ff\u3048<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\na2dismod php5\r\na2enmod php7.0\r\n\/etc\/init.d\/apache2 restart\r\n<\/pre>\n<p>\u203bphp.ini\u306f\u5143\u3005\u624b\u3092\u52a0\u3048\u3066\u3044\u305f\u5dee\u5206\u3060\u3051\u30de\u30fc\u30b8\u3059\u308c\u3070\u826f\u3055\u305d\u3046\u3067\u3059<\/p>\n","protected":false},"excerpt":{"rendered":"<p>php5\u6642\u70b9\u3067\u306eApacheBench $ ab -n 100 -c 20 https:\/\/helloidea.org\/XXXX This is ApacheBench, Version 2.3 &lt;$Revisio \u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-1852","post","type-post","status-publish","format-standard","hentry","category-memo"],"_links":{"self":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/1852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/comments?post=1852"}],"version-history":[{"count":14,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/1852\/revisions"}],"predecessor-version":[{"id":1922,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/1852\/revisions\/1922"}],"wp:attachment":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/media?parent=1852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/categories?post=1852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/tags?post=1852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}