सीधे कंटेंट पर जाएं
Tools

मैक्स अपलोड साइज़ फ़िक्सर

अपलोड लिमिट बढ़ाएँ — और तीनों वैल्यू को एक-दूसरे से मेल में रखें

आपके browser में चलता है. कुछ भी upload नहीं होता.

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.

मैक्स अपलोड साइज़ फ़िक्सर के बारे में

WordPress अपलोड लिमिट तीन जगहों पर सेट होती हैं जिनका आपस में मेल होना ज़रूरी है: upload_max_filesize, post_max_size, और memory_limit। अपना टारगेट साइज़ सेट करें और यह तीनों को सही क्रम में php.ini, .htaccess, और wp-config.php के लिए जनरेट कर देता है।

FAQ

सवाल

मैंने upload_max_filesize बढ़ाया पर कुछ नहीं बदला. क्यों?

क्योंकि WordPress तीन values में से सबसे छोटी का इस्तेमाल करता है: upload_max_filesize, post_max_size और memory_limit. एक को बढ़ाना और दूसरे को कम रखना कुछ नहीं बदलता. post_max_size, upload_max_filesize से बड़ा होना चाहिए, क्योंकि request body में file के साथ-साथ उसके इर्द-गिर्द का form भी होता है.

क्या wp-config.php से upload limit बढ़ाई जा सकती है?

सिर्फ़ आंशिक रूप से, और इसी पर बहुत लोग अटक जाते हैं. wp-config.php, WordPress की memory limit बढ़ा सकता है, पर upload_max_filesize एक PHP directive है जिसे PHP आम तौर पर WordPress load होने से पहले ही पढ़ चुका होता है. अगर आपका host PHP settings को lock करता है, तो चाहे कितना भी wp-config edit करें, cap नहीं बदलेगी.

मेरा host मुझे php.ini edit नहीं करने देता. अब क्या?

अपने web root में एक .user.ini file आज़माएँ — कई shared hosts इसे पढ़ते हैं. अगर यह भी नहीं चला, तो limit आपके account से ऊपर लागू है और सिर्फ़ आपका host ही इसे बदल सकता है. उनसे कहें; यह आम तौर पर एक-line का ticket होता है.