{"id":1701,"date":"2020-04-18T20:20:43","date_gmt":"2020-04-18T11:20:43","guid":{"rendered":"http:\/\/wp.ultimai.org\/wp\/?p=1701"},"modified":"2020-04-18T20:20:43","modified_gmt":"2020-04-18T11:20:43","slug":"post-1701","status":"publish","type":"post","link":"https:\/\/wp.ultimai.org\/?p=1701","title":{"rendered":"php7.2 \u2192 7.4 \u30a2\u30c3\u30d7\u30c7\u30fc\u30c8centos7"},"content":{"rendered":"<p>\u4eca\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u524a\u9664<\/p>\n<pre class=\"tarminal\">\r\n# yum remove php-*\r\n<\/pre>\n<p>Remi\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"tarminal\">\r\n# yum -y install http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm\r\n<\/pre>\n<pre class=\"tarminal\">\r\n # vi \/etc\/yum.repos.d\/remi-php74.repo\r\n\r\n[remi-php74]  \u2190\u3053\u306e\u9805\u76ee\u306e\r\nenabled=1   \u2190 1\u306b\u3059\u308b\r\n<\/pre>\n<p><strong>\u4ed6\u306bremi-php72.repo \u3068\u304b\u304c1\u306a\u30890\u306b\u3059\u308b\u3002priority\u304c1\u306a\u3089\u524a\u9664\u3059\u308b<\/strong><\/p>\n<p>\u5fc5\u8981\u30d1\u30c3\u30b1\u30fc\u30b8\u3068php7.4\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"tarminal\">\r\n# yum install --enablerepo=remi,remi-php74 php php-devel php-mbstring php-pdo php-gd php-mysqlnd php-intl php-pecl php-pear\r\n<\/pre>\n<pre class=\"tarminal\">\r\n# php -v\r\nPHP 7.4.5 (cli) (built: Apr 14 2020 12:54:33) ( NTS )\r\nCopyright (c) The PHP Group\r\nZend Engine v3.4.0, Copyright (c) Zend Technologies\r\n<\/pre>\n<p>Apache\u518d\u8d77\u52d5<\/p>\n<pre class=\"tarminal\">\r\n # systemctl restart httpd\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u524a\u9664 # yum remove p [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1701","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/posts\/1701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1701"}],"version-history":[{"count":1,"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/posts\/1701\/revisions"}],"predecessor-version":[{"id":1702,"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/posts\/1701\/revisions\/1702"}],"wp:attachment":[{"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.ultimai.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}