{"id":172,"date":"2025-11-10T22:29:16","date_gmt":"2025-11-10T13:29:16","guid":{"rendered":"https:\/\/devserver.kr\/blog\/?p=172"},"modified":"2025-11-10T22:29:16","modified_gmt":"2025-11-10T13:29:16","slug":"localhost%ec%99%80-%ec%99%b8%eb%b6%80-%ec%84%9c%eb%b2%84%ec%97%90%ec%84%9c-_server-%eb%b3%80%ec%88%98%ec%9d%98-%ec%b0%a8%ec%9d%b4%ec%a0%90","status":"publish","type":"post","link":"https:\/\/devserver.kr\/blog\/php\/localhost%ec%99%80-%ec%99%b8%eb%b6%80-%ec%84%9c%eb%b2%84%ec%97%90%ec%84%9c-_server-%eb%b3%80%ec%88%98%ec%9d%98-%ec%b0%a8%ec%9d%b4%ec%a0%90\/","title":{"rendered":"localhost\uc640 \uc678\ubd80 \uc11c\ubc84\uc5d0\uc11c $_SERVER \ubcc0\uc218\uc758 \ucc28\uc774\uc810"},"content":{"rendered":"\n<p>localhost \uc5d0\uc11c $_SERVER \ubcc0\uc218\ub97c \ucd9c\ub825\ud574\ubcf4\uba74 \uc544\ub798\ucc98\ub7fc 41\uac1c \ud56d\ubaa9\uc774 \ud45c\uc2dc\ub41c\ub2e4.<\/p>\n\n\n\n<p>array(41) {<br>[&#8220;USER&#8221;]<br>[&#8220;HOME&#8221;]<br>[&#8220;HTTP_COOKIE&#8221;]<br>[&#8220;HTTP_ACCEPT_LANGUAGE&#8221;]<br>[&#8220;HTTP_ACCEPT_ENCODING&#8221;]<br>[&#8220;HTTP_SEC_FETCH_DEST&#8221;]<br>[&#8220;HTTP_SEC_FETCH_USER&#8221;]<br>[&#8220;HTTP_SEC_FETCH_MODE&#8221;]<br>[&#8220;HTTP_SEC_FETCH_SITE&#8221;]<br>[&#8220;HTTP_ACCEPT&#8221;]<br>[&#8220;HTTP_USER_AGENT&#8221;]<br>[&#8220;HTTP_UPGRADE_INSECURE_REQUESTS&#8221;]<br>[&#8220;HTTP_SEC_CH_UA_PLATFORM&#8221;]<br>[&#8220;HTTP_SEC_CH_UA_MOBILE&#8221;]<br>[&#8220;HTTP_SEC_CH_UA&#8221;]<br>[&#8220;HTTP_CACHE_CONTROL&#8221;]<br>[&#8220;HTTP_CONNECTION&#8221;]<br>[&#8220;HTTP_HOST&#8221;]<br>[&#8220;REDIRECT_STATUS&#8221;]<br>[&#8220;SERVER_NAME&#8221;]<br>[&#8220;SERVER_PORT&#8221;]<br>[&#8220;SERVER_ADDR&#8221;]<br>[&#8220;REMOTE_PORT&#8221;]<br>[&#8220;REMOTE_ADDR&#8221;]<br>[&#8220;SERVER_SOFTWARE&#8221;]<br>[&#8220;GATEWAY_INTERFACE&#8221;]<br>[&#8220;REQUEST_SCHEME&#8221;]<br>[&#8220;SERVER_PROTOCOL&#8221;]<br>[&#8220;DOCUMENT_ROOT&#8221;]<br>[&#8220;DOCUMENT_URI&#8221;]<br>[&#8220;REQUEST_URI&#8221;]<br>[&#8220;SCRIPT_NAME&#8221;]<br>[&#8220;CONTENT_LENGTH&#8221;]<br>[&#8220;CONTENT_TYPE&#8221;]<br>[&#8220;REQUEST_METHOD&#8221;]<br>[&#8220;QUERY_STRING&#8221;]<br>[&#8220;SCRIPT_FILENAME&#8221;]<br>[&#8220;FCGI_ROLE&#8221;]<br>[&#8220;PHP_SELF&#8221;]<br>[&#8220;REQUEST_TIME_FLOAT&#8221;]<br>[&#8220;REQUEST_TIME&#8221;]<br>}<\/p>\n\n\n\n<p>\uc678\ubd80 \uc11c\ubc84\uc5d0\uc11c \uac19\uc740 php \ucf54\ub4dc\ub85c $_SERVER\ub97c \ucd9c\ub825\ud574\ubcf4\uba74 \ubc30\uc5f4\uc758 \uac2f\uc218\uac00 44\uac1c\uc774\uba70 \uc544\ub798\uc758 \ud56d\ubaa9 3\uac1c\uac00 \ucd94\uac00\ub41c \uac83\uc744 \ud655\uc778\ud560 \uc218 \uc788\ub2e4.<\/p>\n\n\n\n<p>[&#8220;HTTPS&#8221;]<br>[&#8220;PATH_INFO&#8221;]<br>[&#8220;REMOTE_USER&#8221;]<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>localhost \uc5d0\uc11c $_SERVER \ubcc0\uc218\ub97c \ucd9c\ub825\ud574\ubcf4\uba74 \uc544\ub798\ucc98\ub7fc 41\uac1c \ud56d\ubaa9\uc774 \ud45c\uc2dc\ub41c\ub2e4. array(41) {[&#8220;USER&#8221;][&#8220;HOME&#8221;][&#8220;HTTP_COOKIE&#8221;][&#8220;HTTP_ACCEPT_LANGUAGE&#8221;][&#8220;HTTP_ACCEPT_ENCODING&#8221;][&#8220;HTTP_SEC_FETCH_DEST&#8221;][&#8220;HTTP_SEC_FETCH_USER&#8221;][&#8220;HTTP_SEC_FETCH_MODE&#8221;][&#8220;HTTP_SEC_FETCH_SITE&#8221;][&#8220;HTTP_ACCEPT&#8221;][&#8220;HTTP_USER_AGENT&#8221;][&#8220;HTTP_UPGRADE_INSECURE_REQUESTS&#8221;][&#8220;HTTP_SEC_CH_UA_PLATFORM&#8221;][&#8220;HTTP_SEC_CH_UA_MOBILE&#8221;][&#8220;HTTP_SEC_CH_UA&#8221;][&#8220;HTTP_CACHE_CONTROL&#8221;][&#8220;HTTP_CONNECTION&#8221;][&#8220;HTTP_HOST&#8221;][&#8220;REDIRECT_STATUS&#8221;][&#8220;SERVER_NAME&#8221;][&#8220;SERVER_PORT&#8221;][&#8220;SERVER_ADDR&#8221;][&#8220;REMOTE_PORT&#8221;][&#8220;REMOTE_ADDR&#8221;][&#8220;SERVER_SOFTWARE&#8221;][&#8220;GATEWAY_INTERFACE&#8221;][&#8220;REQUEST_SCHEME&#8221;][&#8220;SERVER_PROTOCOL&#8221;][&#8220;DOCUMENT_ROOT&#8221;][&#8220;DOCUMENT_URI&#8221;][&#8220;REQUEST_URI&#8221;][&#8220;SCRIPT_NAME&#8221;][&#8220;CONTENT_LENGTH&#8221;][&#8220;CONTENT_TYPE&#8221;][&#8220;REQUEST_METHOD&#8221;][&#8220;QUERY_STRING&#8221;][&#8220;SCRIPT_FILENAME&#8221;][&#8220;FCGI_ROLE&#8221;][&#8220;PHP_SELF&#8221;][&#8220;REQUEST_TIME_FLOAT&#8221;][&#8220;REQUEST_TIME&#8221;]} \uc678\ubd80 \uc11c\ubc84\uc5d0\uc11c \uac19\uc740 php \ucf54\ub4dc\ub85c $_SERVER\ub97c \ucd9c\ub825\ud574\ubcf4\uba74 \ubc30\uc5f4\uc758 \uac2f\uc218\uac00 44\uac1c\uc774\uba70 \uc544\ub798\uc758 \ud56d\ubaa9 3\uac1c\uac00 \ucd94\uac00\ub41c \uac83\uc744 \ud655\uc778\ud560 \uc218 \uc788\ub2e4. [&#8220;HTTPS&#8221;][&#8220;PATH_INFO&#8221;][&#8220;REMOTE_USER&#8221;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-172","post","type-post","status-publish","format-standard","hentry","category-php"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/posts\/172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/comments?post=172"}],"version-history":[{"count":1,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/posts\/172\/revisions"}],"predecessor-version":[{"id":173,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/posts\/172\/revisions\/173"}],"wp:attachment":[{"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/media?parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/categories?post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/tags?post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}