{"id":271,"date":"2016-11-21T19:49:57","date_gmt":"2016-11-21T10:49:57","guid":{"rendered":"https:\/\/iwako.pgw.jp\/?p=271"},"modified":"2022-12-21T12:21:32","modified_gmt":"2022-12-21T03:21:32","slug":"php7%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/iwako.pgw.jp\/?p=271","title":{"rendered":"\u8cae\u62fe-PHP7\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/iwako.pgw.jp\/wp-content\/uploads\/2016\/11\/php7.png\" alt=\"php7\" width=\"1024\" height=\"513\" class=\"alignnone size-full wp-image-272\" \/><br \/>\nphp7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\u3002<br \/>\nraspberrypi\u306f\u4f9d\u7136\u3068\u3057\u3066php5\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3057\u304b\u306a\u3044\u3088\u3046\u3060\u3051\u308c\u3069\u3082\u3001\u60c5\u5831\u3082\u7d50\u69cb\u63c3\u3063\u3066\u304d\u305f\u307f\u305f\u3044\u306a\u306e\u3067\u8a66\u3057\u306b\u3084\u3063\u3066\u307f\u305f\u3002<br \/>\nubuntu\u3067\u306f\u3059\u3067\u306bphp7\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u306e\u3067\u6a02\u306a\u3093\u3060\u3051\u3069\u306a\u3041\u3002<br \/>\n\u4eca\u56d8\u306f\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u8a66\u3057\u305f\u3002<br \/>\n\u203bhttp\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066apache2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6fdf\u307f\u3002<br \/>\n\u203bDB\u3068\u3057\u3066mysql\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6fdf\u307f\u3002<\/p>\n<p>\u30bd\u30fc\u30b9\u30ea\u30b9\u30c8\u3092\u7de8\u96c6\u3059\u308b\u3002<br \/>\n$ sudo vim \/etc\/apt\/sources.list<br \/>\n\u6700\u7d42\u884c\u306b\u4e0b\u8a18\u3092\u8ffd\u8a18\u3059\u308b<br \/>\ndeb http:\/\/repozytorium.mati75.eu\/raspbian jessie-backports main contrib non-free<\/p>\n<p>\u6697\u865f\u9375\u306e\u767b\u9304\u3092\u3059\u308b\u3089\u3057\u3044\u3002\uff08\u6b63\u76f4\u4f55\u3092\u3057\u3066\u3044\u308b\u306e\u304b\u3088\u304f\u308f\u304b\u3089\u3093\u2026\uff09<br \/>\n$ sudo gpg &#8211;keyserver pgpkeys.mit.edu &#8211;recv-key CCD91D6111A06851<br \/>\ngpg: \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u300c\/root\/.gnupg\u300d\u304c\u3067\u304d\u307e\u3057\u305f<br \/>\ngpg: \u65b0\u3057\u3044\u69cb\u6210\u30d5\u30a1\u30a4\u30eb\u300c\/root\/.gnupg\/gpg.conf\u300d\u304c\u3067\u304d\u307e\u3057\u305f<br \/>\ngpg: \u8b66\u544a: \u300c\/root\/.gnupg\/gpg.conf\u300d\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u8d77\u52d5\u3057\u3066\u3044\u308b\u9592\u3001\u6709\u6548\u306b\u306a\u308a\u307e\u305b\u3093<br \/>\ngpg: \u9375\u8f2a\u300c\/root\/.gnupg\/secring.gpg\u300d\u304c\u3067\u304d\u307e\u3057\u305f<br \/>\ngpg: \u9375\u8f2a\u300c\/root\/.gnupg\/pubring.gpg\u300d\u304c\u3067\u304d\u307e\u3057\u305f<br \/>\ngpg: \u937511A06851\u3092hkp\u304b\u3089\u30b5\u30fc\u30d0\u30fcpgpkeys.mit.edu\u306b\u8981\u6c42<br \/>\ngpg: \/root\/.gnupg\/trustdb.gpg: \u4fe1\u7528\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u3067\u304d\u307e\u3057\u305f<br \/>\ngpg: \u937511A06851: \u516c\u958b\u9375\u201cMateusz \u0141ukasik <mati75@linuxmint.pl>\u201d\u3092\u8b80\u307f\u8fbc\u307f\u307e\u3057\u305f<br \/>\ngpg:     \u8655\u7406\u6578\u306e\u5408\u8a08: 1<br \/>\ngpg:           \u8b80\u8fbc\u307f: 1  (RSA: 1)<br \/>\n$ sudo gpg &#8211;armor &#8211;export CCD91D6111A06851 | sudo apt-key add &#8211;<br \/>\nOK<\/p>\n<p>update\u3059\u308b<br \/>\n$ sudo apt-get update<\/p>\n<p>php7\u95dc\u9023\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<br \/>\n$ sudo apt-get install php7.0 php7.0-mysql php7.0-mbstring php7.0-curl php7.0-xml php7.0-xmlrpc<br \/>\n\u591a\u5206\u3053\u3093\u306a\u306b\u5165\u308c\u306a\u304f\u3066\u3082\u5927\u4e08\u592b\u3060\u3068\u601d\u3046\u3051\u3069\u4e00\u61c9\u2026\u3002<br \/>\nphp7.0-gd\u306f\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u306e\u3067\u9664\u5916\u3057\u305f\u3002<\/p>\n<p>\u8a66\u3057\u306b\u672c\u30d6\u30ed\u30b0\u3092\u30b3\u30d4\u30fc\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u554f\u984c\u306a\u304f\u52d5\u3044\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u6210\u529f\uff01<br \/>\n\u3053\u3046\u3044\u3046\u6642raspberry pi\u304c\uff13\u3064\u3042\u308b\u3068\u4fbf\u5229\u3060\u3002<br \/>\n\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u554f\u984c\u306a\u3051\u308c\u3070\u672c\u756a\u74b0\u5883\u3067\u3082\u79fb\u884c\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3046\u3002<\/p>\n<p>\u8b1d\u610f\uff1a\u53c3\u8003\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<blockquote data-secret=\"kRcMowZOFE\" class=\"wp-embedded-content\"><p><a href=\"http:\/\/nekyo.wp.xdomain.jp\/2016\/09\/14\/raspberry-pi-%e3%81%ab-php7-%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b\/\">Raspberry Pi \u306b php7 \u3092\u5165\u308c\u308b<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/nekyo.wp.xdomain.jp\/2016\/09\/14\/raspberry-pi-%e3%81%ab-php7-%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b\/embed\/#?secret=kRcMowZOFE\" data-secret=\"kRcMowZOFE\" width=\"600\" height=\"338\" title=\"&#8220;Raspberry Pi \u306b php7 \u3092\u5165\u308c\u308b&#8221; &#8212; \u65e5\u3005\u306e\u3067\u304d\u3054\u3068\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><br \/>\nhttp:\/\/masasikatano.link\/page\/raspberry-pi-tuning-php<br \/>\nhttp:\/\/qiita.com\/tieste\/items\/3c18749ec0218ffddf96<\/p>\n<p>2017.2.17 \u8ffd\u8a18\uff1a<br \/>\n\u4e0b\u8a18\u30b5\u30a4\u30c8\u3092\u53c3\u8003\u306b\u3055\u305b\u3066\u3082\u3089\u3063\u3066\u3001php7.0-gd\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u6210\u529f\u3057\u305f\u3002<\/p>\n<blockquote data-secret=\"BoKlryDVEL\" class=\"wp-embedded-content\"><p><a href=\"http:\/\/loumo.jp\/wp\/archive\/20161209120010\/\">VPS \u4e0a\u306e Ubuntu 14.04 \u3067 php5 \u304b\u3089 php7 \u3078\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/loumo.jp\/wp\/archive\/20161209120010\/embed\/#?secret=BoKlryDVEL\" data-secret=\"BoKlryDVEL\" width=\"600\" height=\"338\" title=\"&#8220;VPS \u4e0a\u306e Ubuntu 14.04 \u3067 php5 \u304b\u3089 php7 \u3078\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f&#8221; &#8212; Lonely Mobiler\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><br \/>\n\u624b\u9806\uff1a<br \/>\n$ sudo apt-get install software-properties-common<br \/>\n$ sudo add-apt-repository ppa:ondrej\/php<br \/>\n$ sudo apt-get update<br \/>\n$ sudo apt-get install php7.0-gd<br \/>\n\u203b\u3061\u306a\u307f\u306bphp7.0-gd\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u3001WP\u3067\u300c\u30e1\u30c7\u30a3\u30a2\u3092\u8ffd\u52a0\u300d\u306e\u969b\u3001\u30d5\u30eb\u30b5\u30a4\u30ba\u3067\u3057\u304b\u30a2\u30c3\u30d7\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>php7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\u3002 raspberrypi\u306f\u4f9d\u7136\u3068\u3057\u3066php5\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3057\u304b\u306a\u3044\u3088\u3046\u3060\u3051\u308c\u3069\u3082\u3001\u60c5\u5831\u3082\u7d50\u69cb\u63c3\u3063\u3066\u304d\u305f\u307f\u305f\u3044\u306a\u306e\u3067\u8a66\u3057\u306b\u3084\u3063\u3066\u307f\u305f\u3002 ubuntu\u3067\u306f\u3059\u3067\u306bphp7\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u306e\u3067\u6a02\u306a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,6],"tags":[],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","category-web"],"_links":{"self":[{"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=271"}],"version-history":[{"count":6,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":297,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions\/297"}],"wp:attachment":[{"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}