Title: Reported PHP Memory Limit, Execution_time
Last modified: July 23, 2020

---

# Reported PHP Memory Limit, Execution_time

 *  [sgb02](https://wordpress.org/support/users/sgb02/)
 * (@sgb02)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reported-php-memory-limit-execution_time/)
 * On my WP admin dashboard, the PHP summary shows:
    PHP Memory Limit : 384 MB
 * However I had just made some changes, restarted httpd, and what my WP-config.
   php says is:
    /* Custom Memory Limit */ define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); /*
   Custom Memory Limit in Admin */ define( ‘WP_MAX_MEMORY_LIMIT’, ‘384M’ );
 * Also, when I click on the button Check More PHP info, I see:
    PHP_MEMORY_LIMIT
   256M This agrees with what I see in phpinfo()
 * But I also see: memory_limit 384M (local) 256M (master) on your PHP Info page.
 * Of course I am now realizing that I may need to change the PHP_MEMORY_LIMIT to
   384M or more.
 * Finally I notice in the admin dashboard I see:
    PHP Max Execution Time : 600 
   sec and max_execution_time 600(local) 600(master) But also see in the PHP Info
   Apache section: PHP_MAX_EXECUTION_TIME 360
    -  This topic was modified 5 years, 10 months ago by [sgb02](https://wordpress.org/support/users/sgb02/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reported-php-memory-limit-execution_time/#post-13165134)
 * Hi,
    I don’t understand what you want me to do here? What’s your question?
 *  Thread Starter [sgb02](https://wordpress.org/support/users/sgb02/)
 * (@sgb02)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reported-php-memory-limit-execution_time/#post-13167599)
 * I think the problem is the labels on some of these fields in your dashboard don’t
   match the actual values or the configured values.
 *  For example the *actual* PHP Memory Limit is 256M (as configured in php.ini)
   but your dashboard shows PHP Memory Limit : 384 MB. But WP cannot actually set
   a value which is higher he the value in php.ini.
 * The value you show as 384MB is the configured value of WP_MAX_MEMORY_LIMIT. But
   this value is misconfigured given the php.ini value.
 * For the above scenario, your dashboard should show:
    PHP Memory Limit : 256 MB
   WP_MEMORY_LIMIT : 256M WP_MAX_MEMORY_LIMIT : 384M (error exceeds php.ini value)
 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/reported-php-memory-limit-execution_time/#post-13168018)
 * [@sgb02](https://wordpress.org/support/users/sgb02/) I completely understand 
   your concern and I don’t think anyone should add the `WP_MAX_MEMORY_LIMIT` in
   wp-config anyways.
 * But the thing is the plugin is not looking for any of those values. It gets the
   PHP memory limit but using this `ini_get('memory_limit')`; check more here: [https://www.php.net/manual/en/function.ini-get.php](https://www.php.net/manual/en/function.ini-get.php)
 * Which I think is returning the MAX_MEMORY_LIMIT is exists. `ini_get` provides
   the memory limit in bytes then the plugin recalculates it and show you in GB,
   MB etc.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Reported PHP Memory Limit, Execution_time’ is closed to new replies.

 * ![](https://ps.w.org/wp-server-stats/assets/icon-256x256.png?rev=1273709)
 * [WP Server Health Stats](https://wordpress.org/plugins/wp-server-stats/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-server-stats/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-server-stats/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-server-stats/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-server-stats/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-server-stats/reviews/)

## Tags

 * [execution time](https://wordpress.org/support/topic-tag/execution-time/)
 * [php memory limit](https://wordpress.org/support/topic-tag/php-memory-limit/)

 * 3 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/reported-php-memory-limit-execution_time/#post-13168018)
 * Status: not resolved