Məzmuna keç
Alətlər

Max Upload Size Fixer

Raise the upload limit — and get all three values consistent

Brauzerinizdə işləyir. Heç nə yüklənmir.

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 haqqında

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

Suallar

upload_max_filesize-i artırdım və heç nə dəyişmədi. Niyə?

Çünki WordPress üç dəyərin ƏN KİÇİYİNİ istifadə edir: upload_max_filesize, post_max_size və memory_limit. Birini artırıb digərini aşağı saxlamaq heç nəyi dəyişmir. post_max_size upload_max_filesize-dən böyük olmalıdır, çünki sorğu gövdəsi faylı və onun ətrafındakı formanı daşıyır.

wp-config.php yükləmə limitini artıra bilər?

Yalnız qismən və bu, bir çoxunu çaşdırır. wp-config.php WordPress-in yaddaş limitini artıra bilər, lakin upload_max_filesize elə bir PHP direktivdir ki, PHP adətən WordPress yüklənənə qədər onu oxumağı artıq bitirir. Hostunuz PHP parametrlərini kilidləyirsə, heç bir wp-config redaktəsi limiti dəyişməyəcək.

Hostum php.ini-ni redaktə etməyə imkan vermir. İndi nə?

Veb kökünüzdə .user.ini faylını sınayın — bir çox paylaşılan host onu oxuyur. Bu da alınmasa, limit hesabınızın üstündə tətbiq olunur və yalnız hostunuz onu dəyişə bilər. Onlardan soruşun; bu, adətən bir sətirlik biletdir.