{"id":102,"date":"2024-12-11T11:48:05","date_gmt":"2024-12-11T11:48:05","guid":{"rendered":"http:\/\/211.230.203.47\/wordpress\/?p=102"},"modified":"2024-12-11T11:48:05","modified_gmt":"2024-12-11T11:48:05","slug":"%ec%9b%8c%eb%93%9c%ed%94%84%eb%a0%88%ec%8a%a4-%eb%af%b8%eb%94%94%ec%96%b4-2m-%ec%9d%b4%ec%83%81-%ed%8c%8c%ec%9d%bc-%ec%97%85%eb%a1%9c%eb%93%9c-%ed%95%a0-%ec%88%98-%ec%9e%88%eb%8f%84%eb%a1%9d-%ec%84%a4","status":"publish","type":"post","link":"https:\/\/www.soon7shop.kr\/wordpress\/?p=102","title":{"rendered":"\uc6cc\ub4dc\ud504\ub808\uc2a4 \ubbf8\ub514\uc5b4 2M \uc774\uc0c1 \ud30c\uc77c \uc5c5\ub85c\ub4dc \ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uc815\ud558\ub294 \ubc29\ubc95"},"content":{"rendered":"<div class=\"flex-shrink-0 flex flex-col relative items-end\">\n<div>\n<div class=\"pt-0\">\n<div class=\"gizmo-bot-avatar flex h-8 w-8 items-center justify-center overflow-hidden rounded-full\">\n<div class=\"relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"group\/conversation-turn relative flex w-full min-w-0 flex-col agent-turn\">\n<div class=\"flex-col gap-1 md:gap-3\">\n<div class=\"flex max-w-full flex-col flex-grow\">\n<div class=\"min-h-8 text-message flex w-full flex-col items-end gap-2 whitespace-normal break-words text-start [.text-message+&amp;]:mt-5\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"8f60a77c-6a23-43c0-bd0e-b26f60173c58\" data-message-model-slug=\"gpt-4o\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden first:pt-[3px]\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p>\uc6cc\ub4dc\ud504\ub808\uc2a4\uc5d0\uc11c \uae30\ubcf8\uc801\uc73c\ub85c \ud5c8\uc6a9\ud558\ub294 \ucd5c\ub300 \ud30c\uc77c \uc5c5\ub85c\ub4dc \ud06c\uae30\ub294 \uc11c\ubc84\uc758 PHP \uc124\uc815\uc5d0 \ub530\ub77c \uc81c\ud55c\ub429\ub2c8\ub2e4. 2MB \uc774\uc0c1\uc758 \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uc815\ud558\ub824\uba74, \ub2e4\uc74c \ub2e8\uacc4\ub97c \ub530\ub77c\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<hr \/>\n<h3>1. <strong>PHP \uc124\uc815 \ubcc0\uacbd\ud558\uae30<\/strong><\/h3>\n<p>PHP \uc124\uc815 \ud30c\uc77c(<code>php.ini<\/code>)\uc744 \uc218\uc815\ud558\uc5ec \uc5c5\ub85c\ub4dc \uc81c\ud55c\uc744 \ub298\ub9b4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>\uc218\uc815 \ubc29\ubc95:<\/h4>\n<ol>\n<li><strong>PHP \uc124\uc815 \ud30c\uc77c \uc5f4\uae30<\/strong><br \/>\n\uc11c\ubc84\uc5d0 \uc811\uc18d\ud558\uc5ec <code>php.ini<\/code> \ud30c\uc77c\uc744 \ucc3e\uc2b5\ub2c8\ub2e4. (\uc77c\ubc18\uc801\uc73c\ub85c <code>\/etc\/php\/\ubc84\uc804\ubc88\ud638\/apache2\/php.ini<\/code> \uacbd\ub85c\uc5d0 \uc704\uce58)<\/li>\n<li><strong>\uc124\uc815 \uac12 \ubcc0\uacbd<\/strong><br \/>\n\uc544\ub798\uc640 \uac19\uc740 \uc124\uc815 \uac12\uc744 \uc218\uc815\ud558\uac70\ub098 \ucd94\uac00\ud558\uc138\uc694:<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">ini<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-ini\"><span class=\"hljs-attr\">upload_max_filesize<\/span> = <span class=\"hljs-number\">64<\/span>M<br \/>\n<span class=\"hljs-attr\">post_max_size<\/span> = <span class=\"hljs-number\">64<\/span>M<br \/>\n<span class=\"hljs-attr\">max_execution_time<\/span> = <span class=\"hljs-number\">300<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<ul>\n<li><code>upload_max_filesize<\/code>: \uc5c5\ub85c\ub4dc \uac00\ub2a5\ud55c \ud30c\uc77c\uc758 \ucd5c\ub300 \ud06c\uae30 (\uc608: 64M)<\/li>\n<li><code>post_max_size<\/code>: POST \uc694\uccad \uc2dc \ucd5c\ub300 \ud5c8\uc6a9 \ud06c\uae30 (\uc608: 64M)<\/li>\n<li><code>max_execution_time<\/code>: \uc2a4\ud06c\ub9bd\ud2b8 \uc2e4\ud589 \uc81c\ud55c \uc2dc\uac04 (\ucd08)<\/li>\n<\/ul>\n<\/li>\n<li><strong>Apache \uc11c\ubc84 \uc7ac\uc2dc\uc791<\/strong><br \/>\n\uc124\uc815 \ubcc0\uacbd \ud6c4, Apache\ub97c \uc7ac\uc2dc\uc791\ud574\uc57c \uc801\uc6a9\ub429\ub2c8\ub2e4:<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">bash<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-bash\">sudo systemctl restart apache2<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<\/ol>\n<hr \/>\n<h3>2. <strong><code>.htaccess<\/code> \ud30c\uc77c \uc218\uc815<\/strong><\/h3>\n<p>\uc6cc\ub4dc\ud504\ub808\uc2a4\uac00 \uc124\uce58\ub41c \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc788\ub294 <code>.htaccess<\/code> \ud30c\uc77c\uc744 \uc5f4\uc5b4 \uc124\uc815\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>\ucd94\uac00\ud560 \ub0b4\uc6a9:<\/h4>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">apache<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-apache\">php_value upload_max_filesize 64M<br \/>\n<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-apache\">php_value post_max_size 64M<br \/>\n<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-apache\">php_value max_execution_time 300<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-apache\">php_value max_input_time 300<\/code><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\">&#8212;&#8212;&#8212;&#8212;&#8212;-<\/div>\n<div dir=\"ltr\">\n<p><code>php.ini<\/code>\u00a0 \ud30c\uc77c \ub0b4\uc6a9\uc911<\/p>\n<p>; File Uploads ;<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>; Whether to allow HTTP file uploads.<\/p>\n<p>; https:\/\/php.net\/file-uploads<\/p>\n<p>file_uploads = On<\/p>\n<p>&nbsp;<\/p>\n<p>; Temporary directory for HTTP uploaded files (will use system default if not<\/p>\n<p>; specified).<\/p>\n<p>; https:\/\/php.net\/upload-tmp-dir<\/p>\n<p>;upload_tmp_dir =<\/p>\n<p>&nbsp;<\/p>\n<p>; Maximum allowed size for uploaded files.<\/p>\n<p>; https:\/\/php.net\/upload-max-filesize<\/p>\n<p>upload_max_filesize = 150M<\/p>\n<p>&nbsp;<\/p>\n<p>; Maximum number of files that can be uploaded via a single request<\/p>\n<p>max_file_uploads = 100<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\uc6cc\ub4dc\ud504\ub808\uc2a4\uc5d0\uc11c \uae30\ubcf8\uc801\uc73c\ub85c \ud5c8\uc6a9\ud558\ub294 \ucd5c\ub300 \ud30c\uc77c \uc5c5\ub85c\ub4dc \ud06c\uae30\ub294 \uc11c\ubc84\uc758 PHP \uc124\uc815\uc5d0 \ub530\ub77c \uc81c\ud55c\ub429\ub2c8\ub2e4. 2MB \uc774\uc0c1\uc758 \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uc815\ud558\ub824\uba74, \ub2e4\uc74c \ub2e8\uacc4\ub97c \ub530\ub77c\uc57c \ud569\ub2c8\ub2e4. 1. PHP \uc124\uc815 \ubcc0\uacbd\ud558\uae30 PHP \uc124\uc815 \ud30c\uc77c(php.ini)\uc744 \uc218\uc815\ud558\uc5ec \uc5c5\ub85c\ub4dc \uc81c\ud55c\uc744 \ub298\ub9b4 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc218\uc815 \ubc29\ubc95: PHP \uc124\uc815 \ud30c\uc77c \uc5f4\uae30 \uc11c\ubc84\uc5d0 \uc811\uc18d\ud558\uc5ec php.ini \ud30c\uc77c\uc744 \ucc3e\uc2b5\ub2c8\ub2e4. (\uc77c\ubc18\uc801\uc73c\ub85c \/etc\/php\/\ubc84\uc804\ubc88\ud638\/apache2\/php.ini \uacbd\ub85c\uc5d0 \uc704\uce58) \uc124\uc815 \uac12 \ubcc0\uacbd \uc544\ub798\uc640 &hellip; <a href=\"https:\/\/www.soon7shop.kr\/wordpress\/?p=102\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc6cc\ub4dc\ud504\ub808\uc2a4 \ubbf8\ub514\uc5b4 2M \uc774\uc0c1 \ud30c\uc77c \uc5c5\ub85c\ub4dc \ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uc815\ud558\ub294 \ubc29\ubc95&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=102"}],"version-history":[{"count":1,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/102\/revisions"}],"predecessor-version":[{"id":103,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/102\/revisions\/103"}],"wp:attachment":[{"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}