본문으로 건너뛰기
도구

Max Upload Size Fixer

Raise the upload limit — and get all three values consistent

브라우저 안에서 돌아갑니다. 아무것도 업로드되지 않습니다.

Target
Where can you edit files?

Hosts differ in what they let you touch. Generate the format you can actually use — and if the first one silently does nothing, that usually means your host overrides it, so try the next.

Resulting upload limit

128 MB

settings

wp-config.php can raise WordPress's own memory limit, but it cannot raise PHP's upload_max_filesize — that is a PHP directive, not a WordPress one. If your host locks PHP settings, no amount of wp-config editing will change the upload cap, and you will have to ask them.

Max Upload Size Fixer 소개

WordPress upload limits are set in three places that must agree: upload_max_filesize, post_max_size, and memory_limit. Set your target size and this emits all three, correctly ordered, for php.ini, .htaccess, and wp-config.php.

FAQ

질문

upload_max_filesize를 올렸는데 아무것도 바뀌지 않았습니다. 왜죠?

워드프레스가 세 값 중 가장 작은 값을 쓰기 때문입니다: upload_max_filesize, post_max_size, memory_limit. 하나를 올려도 다른 하나가 낮으면 아무것도 달라지지 않습니다. post_max_size는 upload_max_filesize보다 커야 합니다. 요청 본문이 파일과 그것을 감싼 폼을 함께 실어 나르니까요.

wp-config.php로 업로드 용량 제한을 올릴 수 있나요?

일부만 가능하고, 이 점이 많은 사람을 헷갈리게 합니다. wp-config.php는 워드프레스의 메모리 제한은 올릴 수 있지만, upload_max_filesize는 PHP 지시어라서 대개 워드프레스가 로드될 즈음엔 PHP가 이미 다 읽어버린 뒤입니다. 호스트가 PHP 설정을 잠가 두었다면 wp-config를 아무리 수정해도 이 상한선은 바뀌지 않습니다.

호스트가 php.ini를 수정하지 못하게 합니다. 이제 어쩌죠?

웹 루트에 .user.ini 파일을 시도해 보세요 — 많은 공유 호스트가 이걸 읽습니다. 그것도 안 되면 제한이 여러분 계정 위에서 걸려 있는 것이고, 오직 호스트만 바꿀 수 있습니다. 문의하세요. 보통은 한 줄짜리 티켓이면 됩니다.