{"id":444,"date":"2022-09-29T14:02:58","date_gmt":"2022-09-29T05:02:58","guid":{"rendered":"https:\/\/ubuntu.auctionpro.co.kr\/?page_id=444"},"modified":"2022-09-29T14:02:59","modified_gmt":"2022-09-29T05:02:59","slug":"php7-3-%ec%97%90%ec%84%9c-php7-4-%ec%9c%bc%eb%a1%9c-%ec%95%88%ec%a0%84%ed%95%98%ea%b2%8c-%ec%97%85%ea%b7%b8%eb%a0%88%ec%9d%b4%eb%93%9c-%ed%95%98%ea%b8%b0","status":"publish","type":"page","link":"https:\/\/ubuntu.auctionpro.co.kr\/?page_id=444","title":{"rendered":"PHP7.3 \uc5d0\uc11c PHP7.4 \uc73c\ub85c \uc548\uc804\ud558\uac8c \uc5c5\uadf8\ub808\uc774\ub4dc \ud558\uae30"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">1. repository \ucd5c\uc2e0\ub370\uc774\ud0c0 \ubc1b\uae30 <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo add-apt-repository ppa:ondrej\/php<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2.\uc124\uce58\uc804 \uc5c5\ub370\uc774\ud2b8 <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo apt update<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3.php7.4 \uc124\uce58 <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo apt install php7.4<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4.php7.4 util \uc124\uce58 <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5.php \uc0c8\ubc88\uc804 \ub4f1\ub85d <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">update-alternatives --set php \/usr\/bin\/php7.4<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6.php7.3 \ube44\ud65c\uc131\ud654<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">a2dismod php7.3<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7.php7.4 \ud65c\uc131\ud654<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">a2enmod php7.4<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8.apache2 restart <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">systemctl restart apache2<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">9.\ubc84\uc804 \ud655\uc778<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \"># php -v\nPHP 7.4.30 (cli) (built: Sep 18 2022 10:23:58) ( NTS )\nCopyright (c) The PHP Group\nZend Engine v3.4.0, Copyright (c) Zend Technologies\n    with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies\n<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>1. repository \ucd5c\uc2e0\ub370\uc774\ud0c0 \ubc1b\uae30 2.\uc124\uce58\uc804 \uc5c5\ub370\uc774\ud2b8 3.php7.4 \uc124\uce58 4.php7.4 util \uc124\uce58 5.php \uc0c8\ubc88\uc804 \ub4f1\ub85d 6.php7.3 \ube44\ud65c\uc131\ud654 7.php7.4 \ud65c\uc131\ud654 8.apache2 restart 9.\ubc84\uc804 \ud655\uc778<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-444","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=444"}],"version-history":[{"count":1,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/444\/revisions"}],"predecessor-version":[{"id":445,"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/444\/revisions\/445"}],"wp:attachment":[{"href":"https:\/\/ubuntu.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}