{"id":516,"date":"2020-03-05T02:16:42","date_gmt":"2020-03-04T17:16:42","guid":{"rendered":"https:\/\/deskplate.net\/blog\/2020\/03\/05\/centos-8-php-install\/"},"modified":"2020-03-05T02:16:42","modified_gmt":"2020-03-04T17:16:42","slug":"centos-8-php-install","status":"publish","type":"post","link":"https:\/\/deskplate.net\/blog\/archives\/516","title":{"rendered":"CentOS 8 PHP install"},"content":{"rendered":"<p>#  dnf install -y php php-mbstring php-xml php-xmlrpc php-gd php-pdo php-mysqlnd php-json<br \/>\n\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u671f\u9650\u5207\u308c\u306e\u6700\u7d42\u78ba\u8a8d: 0:15:57 \u6642\u9593\u524d\u306e 2020\u5e7403\u670804\u65e5 12\u664200\u520625\u79d2 \u306b\u5b9f\u65bd\u3057\u307e\u3057\u305f\u3002<br \/>\n\u4f9d\u5b58\u95a2\u4fc2\u304c\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002<br \/>\n========================================================================================================================<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8                 \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc \u30d0\u30fc\u30b8\u30e7\u30f3                                       \u30ea\u30dd\u30b8\u30c8\u30ea\u30fc        \u30b5\u30a4\u30ba<br \/>\n========================================================================================================================<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:<br \/>\nphp                        x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream           1.5 M<br \/>\nphp-gd                     x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream            84 k<br \/>\nphp-json                   x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream            73 k<br \/>\nphp-mbstring               x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream           581 k<br \/>\nphp-mysqlnd                x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream           190 k<br \/>\nphp-pdo                    x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream           122 k<br \/>\nphp-xml                    x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream           189 k<br \/>\nphp-xmlrpc                 x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream            89 k<br \/>\n\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:<br \/>\nnginx-filesystem           noarch           1:1.14.1-9.module_el8.0.0+184+e34fea82           AppStream            24 k<br \/>\nphp-cli                    x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream           3.1 M<br \/>\nphp-common                 x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream           655 k<br \/>\n\u5f31\u3044\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:<br \/>\nphp-fpm                    x86_64           7.2.11-2.module_el8.1.0+209+03b9a8ff             AppStream           1.6 M<br \/>\n\u30e2\u30b8\u30e5\u30fc\u30eb\u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u6709\u52b9\u5316:<br \/>\nnginx                                       1.14<br \/>\nphp                                         7.2<br \/>\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u6982\u8981<br \/>\n========================================================================================================================<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb  12 \u30d1\u30c3\u30b1\u30fc\u30b8<br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30b5\u30a4\u30ba\u306e\u5408\u8a08: 8.2 M<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u30b5\u30a4\u30ba: 32 M<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9:<br \/>\n(1\/12): nginx-filesystem-1.14.1-9.module_el8.0.0+184+e34fea82.noarch.rpm                500 kB\/s |  24 kB     00:00<br \/>\n(2\/12): php-common-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                      4.8 MB\/s | 655 kB     00:00<br \/>\n(3\/12): php-cli-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                         7.7 MB\/s | 3.1 MB     00:00<br \/>\n(4\/12): php-gd-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                          1.8 MB\/s |  84 kB     00:00<br \/>\n(5\/12): php-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                             3.0 MB\/s | 1.5 MB     00:00<br \/>\n(6\/12): php-json-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                        1.1 MB\/s |  73 kB     00:00<br \/>\n(7\/12): php-fpm-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                         4.7 MB\/s | 1.6 MB     00:00<br \/>\n(8\/12): php-mysqlnd-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                     4.5 MB\/s | 190 kB     00:00<br \/>\n(9\/12): php-mbstring-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                    8.8 MB\/s | 581 kB     00:00<br \/>\n(10\/12): php-pdo-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                        2.2 MB\/s | 122 kB     00:00<br \/>\n(11\/12): php-xml-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                        5.1 MB\/s | 189 kB     00:00<br \/>\n(12\/12): php-xmlrpc-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64.rpm                     4.9 MB\/s |  89 kB     00:00<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n\u5408\u8a08                                                                                    8.5 MB\/s | 8.2 MB     00:00<br \/>\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u4e2d<br \/>\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002<br \/>\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u4e2d<br \/>\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u30c6\u30b9\u30c8\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002<br \/>\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u4e2d<br \/>\n\u6e96\u5099             :                                                                                                1\/1<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-common-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                        1\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-cli-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                           2\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-pdo-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                           3\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-xml-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                           4\/12<br \/>\nscriptlet\u306e\u5b9f\u884c\u4e2d: nginx-filesystem-1:1.14.1-9.module_el8.0.0+184+e34fea82.noarch                                5\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : nginx-filesystem-1:1.14.1-9.module_el8.0.0+184+e34fea82.noarch                                5\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-fpm-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                           6\/12<br \/>\nscriptlet\u306e\u5b9f\u884c\u4e2d: php-fpm-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                           6\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                               7\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-xmlrpc-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                        8\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-mysqlnd-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                       9\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-gd-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                           10\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-json-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                         11\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d   : php-mbstring-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                     12\/12<br \/>\nscriptlet\u306e\u5b9f\u884c\u4e2d: php-mbstring-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                     12\/12<br \/>\nscriptlet\u306e\u5b9f\u884c\u4e2d: php-fpm-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                          12\/12<br \/>\n\u691c\u8a3c             : nginx-filesystem-1:1.14.1-9.module_el8.0.0+184+e34fea82.noarch                                1\/12<br \/>\n\u691c\u8a3c             : php-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                               2\/12<br \/>\n\u691c\u8a3c             : php-cli-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                           3\/12<br \/>\n\u691c\u8a3c             : php-common-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                        4\/12<br \/>\n\u691c\u8a3c             : php-fpm-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                           5\/12<br \/>\n\u691c\u8a3c             : php-gd-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                            6\/12<br \/>\n\u691c\u8a3c             : php-json-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                          7\/12<br \/>\n\u691c\u8a3c             : php-mbstring-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                      8\/12<br \/>\n\u691c\u8a3c             : php-mysqlnd-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                       9\/12<br \/>\n\u691c\u8a3c             : php-pdo-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                          10\/12<br \/>\n\u691c\u8a3c             : php-xml-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                          11\/12<br \/>\n\u691c\u8a3c             : php-xmlrpc-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64                                       12\/12<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f:<br \/>\nphp-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nphp-gd-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nphp-json-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nphp-mbstring-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nphp-mysqlnd-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nphp-pdo-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nphp-xml-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nphp-xmlrpc-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nphp-fpm-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nnginx-filesystem-1:1.14.1-9.module_el8.0.0+184+e34fea82.noarch<br \/>\nphp-cli-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\nphp-common-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64<br \/>\n\u5b8c\u4e86\u3057\u307e\u3057\u305f!<br \/>\n# php -v<br \/>\nPHP 7.2.11 (cli) (built: Oct  9 2018 15:09:36) ( NTS )<br \/>\nCopyright (c) 1997-2018 The PHP Group<br \/>\nZend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies<br \/>\n# systemctl restart httpd<\/p>\n","protected":false},"excerpt":{"rendered":"<p># dnf install -y php<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-centos-8"],"_links":{"self":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/comments?post=516"}],"version-history":[{"count":0,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/516\/revisions"}],"wp:attachment":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/categories?post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}