דילוג לתוכן
כלים

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 בשורש הווב שלכם — הרבה שירותי אחסון משותפים קוראים אותו. אם גם זה נכשל, המגבלה נאכפת מעל החשבון שלכם ורק האחסון יכול לשנות אותה. בקשו מהם; זו בדרך כלל פנייה של שורה אחת.