WP Debug Toolkit 1.1.0 is LIVE. Get $300 discount on the lifetime deal now
Use Discount Code WPDTLTD

WP Debug Toolkit (WPDT) displays your site’s PHP configuration values and lets you adjust certain WordPress-level limits from the admin dashboard. These settings interact with server-level PHP directives, so WPDT also shows the effective runtime values to help you understand what your site is actually using.

Memory limit

What it controls

WP_MEMORY_LIMIT sets the maximum amount of memory PHP can allocate for WordPress operations. WordPress defaults to 40 MB on single-site installations and 64 MB on multisite. Most production sites need more than these defaults.

Setting the value

Go to Debug Toolkit > Settings > PHP Settings > Memory Limit. Enter a value in megabytes. WPDT writes or updates the WP_MEMORY_LIMIT constant in wp-config.php:

define( 'WP_MEMORY_LIMIT', '256M' );

Common values:

ValueUse case
128MSmall sites with lightweight plugins
256MMost production sites, WooCommerce stores
512MLarge sites, complex page builders, bulk operations

Server limit ceiling

WP_MEMORY_LIMIT cannot exceed the server’s memory_limit directive in php.ini. If php.ini sets memory_limit to 128M, setting WP_MEMORY_LIMIT to 256M has no effect — PHP enforces its own ceiling. WPDT displays both the configured WordPress value and the actual PHP memory_limit so you can see whether your setting is being constrained.

To increase the server-level limit, edit php.ini, use .htaccess (if the host allows it), or contact your hosting provider.

Upload limit

What it controls

The upload limit determines the maximum file size WordPress accepts for media uploads, plugin/theme zip files, and import operations.

Setting the value

Go to Debug Toolkit > Settings > PHP Settings > Upload Limit. WPDT applies the value through the upload_size_limit filter in WordPress.

Server-level constraints

The effective upload limit is the lowest of three values:

DirectiveWhere it is setWhat it controls
upload_max_filesizephp.iniMaximum size of a single uploaded file
post_max_sizephp.iniMaximum size of the entire POST request body
WPDT upload limitWordPress filterWordPress-level cap applied by WPDT

If upload_max_filesize is 2M in php.ini, setting a 50 MB limit in WPDT does not allow 50 MB uploads. PHP rejects the file before WordPress processes it. Both upload_max_filesize and post_max_size must be large enough to accommodate the desired upload size. post_max_size should be slightly larger than upload_max_filesize to account for form data sent alongside the file.

Runtime values

The Settings > PHP Settings page shows two columns for each setting:

  • Configured — the value WPDT or wp-config.php specifies
  • Effective — the value PHP is actually using at runtime

These can differ. If the configured memory limit is 512M but the server caps it at 256M, the effective value reads 256M. Check the effective column to confirm your settings are applied.

WPDT reads runtime values from ini_get() at page load. The values reflect the PHP configuration for the current request.

On this page
Try WP Debug Toolkit
The best error log viewer with amazing developer tools to help you troubleshoot your WordPress site securely and efficiently. Something something more.