Resolve WordPress Memory Limit, Maximum Post Size, Upload File Size & Input Vars

Опубликовано: 15 Март 2026
на канале: Rajsekar Reddy Dowdagiri
12,468
62

This video is to resolve the WordPress issues for maximum compatibility! Such as below...

-----------------------------------------------------------------------------------------------------------
1. WordPress Memory Limit: 40M, memory_limit should be at least 96MB. Increasing memory allocated to PHP.

Solution: add "define( 'WP_MEMORY_LIMIT', '96M' );" to the file "wp-config.php"
-----------------------------------------------------------------------------------------------------------
2. Maximum Post Size: 8M, post_max_size should be at least 30MB.
3. Maximum Upload File Size: 2M, upload_max_filesize should be at least 10MB.
4. Maximum Input Vars: 1000, max_input_vars should be at least 4000. Increasing Maximum Input Vars

Solution: create a new file(php.ini) in directory(wp-admin) and insert below 3 lines of code

upload_max_filesize = 1000M
post_max_size = 2000M
max_input_vars = 4000
-----------------------------------------------------------------------------------------------------------