{"id":9315,"date":"2024-06-25T15:40:09","date_gmt":"2024-06-25T06:40:09","guid":{"rendered":"https:\/\/www.auctionpro.co.kr\/?p=9315"},"modified":"2024-06-25T15:41:21","modified_gmt":"2024-06-25T06:41:21","slug":"sudo-apache2ctl-configtest","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=9315","title":{"rendered":"sudo apache2ctl configtest"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><code>apache2ctl configtest<\/code> \uba85\ub839\uc5b4\ub294 Apache HTTP \uc11c\ubc84\uc758 \uad6c\uc131 \ud30c\uc77c\uc5d0 \uc624\ub958\uac00 \uc788\ub294\uc9c0 \ud655\uc778\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc774 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uba74 Apache\uac00 \uad6c\uc131 \ud30c\uc77c\uc744 \uc77d\uace0 \uad6c\ubb38\uc744 \uac80\uc0ac\ud55c \ud6c4, \uc624\ub958\uac00 \uc788\ub294\uc9c0 \uc5ec\ubd80\ub97c \uc54c\ub824\uc90d\ub2c8\ub2e4. \uad6c\uccb4\uc801\uc73c\ub85c <code>apache2ctl configtest<\/code> \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\ub294 \uc774\uc720\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\uad6c\uc131 \ud30c\uc77c\uc758 \uad6c\ubb38 \uc624\ub958 \ud655\uc778<\/strong>: \uad6c\uc131 \ud30c\uc77c\uc5d0 \uad6c\ubb38 \uc624\ub958\uac00 \uc788\ub294\uc9c0 \ud655\uc778\ud558\uc5ec, Apache \uc11c\ubc84\uac00 \uc7ac\uc2dc\uc791 \ub610\ub294 \uc7ac\uad6c\ub3d9 \uc2dc \ubb38\uc81c \uc5c6\uc774 \ub3d9\uc791\ud560 \uc218 \uc788\ub3c4\ub85d \ud569\ub2c8\ub2e4. \uad6c\ubb38 \uc624\ub958\uac00 \uc788\uc73c\uba74 Apache \uc11c\ubc84\uac00 \uc815\uc0c1\uc801\uc73c\ub85c \uc2dc\uc791\ub418\uc9c0 \uc54a\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n\n\n\n<li><strong>\uc11c\ubc84 \uc7ac\uc2dc\uc791 \uc804 \uac80\uc99d<\/strong>: Apache \uc11c\ubc84\ub97c \uc7ac\uc2dc\uc791\ud558\uac70\ub098 \uad6c\uc131\uc744 \ub2e4\uc2dc \ub85c\ub4dc\ud558\uae30 \uc804\uc5d0 \uad6c\uc131 \ud30c\uc77c\uc774 \uc62c\ubc14\ub978\uc9c0 \ud655\uc778\ud558\uc5ec, \uc11c\ubc84\uac00 \ub2e4\uc6b4\ub418\uac70\ub098 \uc608\uc0c1\uce58 \ubabb\ud55c \ub3d9\uc791\uc744 \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n\n\n\n<li><strong>\ubb38\uc81c \ud574\uacb0<\/strong>: \uad6c\uc131 \ud30c\uc77c\uc744 \uc218\uc815\ud55c \ud6c4, <code>configtest<\/code> \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc218\uc815\ud55c \ub0b4\uc6a9\uc774 \uc62c\ubc14\ub974\uac8c \uc801\uc6a9\ub418\uc5c8\ub294\uc9c0 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc11c\ubc84 \uc7ac\uc2dc\uc791 \uc804\uc5d0 \uc7a0\uc7ac\uc801\uc778 \ubb38\uc81c\ub97c \ubbf8\ub9ac \ubc1c\uacac\ud558\uace0 \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><code>apache2ctl configtest<\/code> \uba85\ub839\uc5b4\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ubc29\uc2dd\uc73c\ub85c \uc0ac\uc6a9\ub429\ub2c8\ub2e4:<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:php decode:true \">sudo apache2ctl configtest<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uba74, Apache\ub294 \uad6c\uc131 \ud30c\uc77c\uc744 \uac80\ud1a0\ud55c \ud6c4 &#8220;Syntax OK&#8221; \ub610\ub294 \uc624\ub958 \uba54\uc2dc\uc9c0\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. &#8220;Syntax OK&#8221;\uac00 \ud45c\uc2dc\ub418\uba74 \uad6c\uc131 \ud30c\uc77c\uc5d0 \uad6c\ubb38 \uc624\ub958\uac00 \uc5c6\uc74c\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc624\ub958\uac00 \uc788\uc744 \uacbd\uc6b0, \uc624\ub958 \uba54\uc2dc\uc9c0\ub97c \ud1b5\ud574 \uad6c\uccb4\uc801\uc778 \ubb38\uc81c\uc810\uc744 \ud655\uc778\ud558\uace0 \uc218\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:php decode:true \" title=\"\uc624\ub958\uc2dc \ucd9c\ub825\" >apache2: Syntax error on line 146 of cd : Syntax error on line 3 of \/etc\/apache2\/mods-enabled\/php7.4.load: \nCannot load \/usr\/lib\/apache2\/modules\/libphp7.4.so into server: \n\/usr\/lib\/apache2\/modules\/libphp7.4.so: cannot open shared object file: No such file or directory\nAction 'configtest' failed.\nThe Apache error log may have more information.<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>apache2ctl configtest \uba85\ub839\uc5b4\ub294 Apache HTTP \uc11c\ubc84\uc758 \uad6c\uc131 \ud30c\uc77c\uc5d0 \uc624\ub958\uac00 \uc788\ub294\uc9c0 \ud655\uc778\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc774 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uba74 Apache\uac00 \uad6c\uc131 \ud30c\uc77c\uc744 \uc77d\uace0 \uad6c\ubb38\uc744 \uac80\uc0ac\ud55c \ud6c4, \uc624\ub958\uac00 \uc788\ub294\uc9c0 <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=9315\" title=\"sudo apache2ctl configtest\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[43],"tags":[],"class_list":["post-9315","post","type-post","status-publish","format-standard","hentry","category-php"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/9315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9315"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/9315\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}