{"id":1678,"date":"2022-03-05T04:47:41","date_gmt":"2022-03-04T19:47:41","guid":{"rendered":"http:\/\/leenux.kr\/?p=1678"},"modified":"2022-03-05T04:47:41","modified_gmt":"2022-03-04T19:47:41","slug":"php-php-%ec%82%ad%ec%a0%9c-%ed%9b%84-%ec%9e%ac%ec%84%a4%ec%b9%98-%eb%a6%ac%eb%88%85%ec%8a%a4-linux","status":"publish","type":"post","link":"https:\/\/leenux.kr\/?p=1678","title":{"rendered":"[PHP] PHP \uc0ad\uc81c \ud6c4 \uc7ac\uc124\uce58 (\ub9ac\ub205\uc2a4 Linux)"},"content":{"rendered":"\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\ucd5c\uadfc\uc5d0 Ubuntu \uc11c\ubc84\ub97c \ub2e4\uc2dc \ucc98\uc74c\ubd80\ud130 \uc14b\ud305\uc744 \ud574\uc57c\ub418\uc11c php \uc124\uce58\ub97c \uc2dc\uc791\ud588\ub2e4 \ud558\uc9c0\ub9cc \uae30\ubcf8\uac12\uc73c\ub85c php8.0 \ubc84\uc804\uc774 \uc124\uce58\ub418\uc5b4 \uc788\uc5c8\uace0 \uae00\uc4f4\uc774\ub294 7.4 \ubc84\uc804\uc744 \uc0ac\uc6a9\ud558\uc5ec php7.4 \uc124\uce58 \ud6c4 &#8216;php -v&#8217; \ubc84\uc804\uc744 \ud655\uc778\ud588\ub294\ub370 \ub611\uac19\uc774 php8.0\uc73c\ub85c \ub098\uc640 \uad6c\uae00\ub9c1\uc744 \ud558\uc5ec \ubc29\ubc95\uc744 \uc54c\uc544\ub0c8\uc2b5\ub2c8\ub2e4. \uac19\uc740 \ubb38\uc81c\ub97c \uacaa\uace0 \uc788\uc73c\uc2e0\ubd84\ub4e4\uc740 \uc544\ub798 \ubc29\ubc95\uc744 \ud1b5\ud574 \ud574\uacb0\ud558\uc168\uc73c\uba74 \uc88b\uaca0\uc2b5\ub2c8\ub2e4.<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>php \ud2b9\uc815 \ubc84\uc804 \ud328\ud0a4\uc9c0\ub4e4 \uc804\uccb4 \uc0ad\uc81c<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get --purge remove php8.0*<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\ucd5c\uc2e0 php \ube4c\ub4dc\ud328\ud0a4\uc9c0\uac00 \uc788\ub294 ppa:ondrej\/php PPA \uc800\uc7a5\uc18c\ub97c \ucd94\uac00 \ud6c4 \ud2b9\uc815 php \ubc84\uc804 \uc124\uce58\ud558\uae30<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install software-properties-common\nsudo add-apt-repository ppa:ondrej\/php\nsudo apt update\nsudo apt install php7.4\nphp -v<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>[PHP] PHP \uc0ad\uc81c \ud6c4 \uc7ac\uc124\uce58\ud558\uae30 (\ub9ac\ub205\uc2a4 Linux)<\/p>\n","protected":false},"author":1,"featured_media":1492,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[32,34,21,61,33],"tags":[],"_links":{"self":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1678"}],"collection":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1678"}],"version-history":[{"count":1,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1678\/revisions"}],"predecessor-version":[{"id":1679,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1678\/revisions\/1679"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/media\/1492"}],"wp:attachment":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}