Title: Issue with PHP Memory limit
Last modified: August 31, 2016

---

# Issue with PHP Memory limit

 *  Resolved [peopleinside](https://wordpress.org/support/users/peopleinside/)
 * (@peopleinside)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/issue-with-php-memory-limit/)
 * Hi,
    you plug in are showing in the Dashboard widget the PHP Memory limit Local
   value who in the PHP info showed from your plug in is 256, in the master value
   the PHP Memory limit is 128 MB.
 * The correct value to show in the Dashboard for my case is 128 MB what I see in
   the PHP info Master value… but is not possible in your plug in ask to see this
   in the Dashboard widget and not 256 MB local value.
 * Can you create a settings page where I can setup to show PHP Memory limit Master
   and not Local?
 * Thanks, 256 MB is not correct for me. If I put a php info file on my server I
   can see 128 not 256 MB !
 * [https://wordpress.org/plugins/wp-serverinfo/](https://wordpress.org/plugins/wp-serverinfo/)

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

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/issue-with-php-memory-limit/#post-7097013)
 * The plugin already uses the correct function to get the memory limit
 * `ini_get('memory_limit')`
 * That means your local value is overwriting your master value at runtime. I have
   no intention of changing it.
 * Like all other server plugin that is the correct way to get memory limit.
 *  Thread Starter [peopleinside](https://wordpress.org/support/users/peopleinside/)
 * (@peopleinside)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/issue-with-php-memory-limit/#post-7097019)
 * If I put a php info file I see memory limit 128, that’s correct.
    Your plug in
   show to me 256 MB.
 * You know how can I fix this issue? the php info give the correct value.
    IF I
   PUT a php info file into a folder of my server show master and local same, in
   wordpress seems there are different master and local.
 * Your plug in have no settings for decide with one see as default so how can i
   may solve this issue? Do you know? Thanks.
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/issue-with-php-memory-limit/#post-7097024)
 * There is nothing to fix, this is the correct behavior.
 * memory_limit can be overwritten at runtime.
 * That means that some plugin/theme is overwriting the memory_limit.
 * You might want to search for ini_set or WP_MEMORY_LIMIT or WP_MAX_MEMORY_LIMIT
   in your code base.
 *  Thread Starter [peopleinside](https://wordpress.org/support/users/peopleinside/)
 * (@peopleinside)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/issue-with-php-memory-limit/#post-7097059)
 * Thank you,
    I have tested on new WordPress install without any plug in and theme.
 * The issue is the same so is not possible is a theme or plug in who overwrite 
   memory_limit. Also tried to put infophp into WordPress folder and again memory
   limit is 128 not 256 however I can see this memory issue with all memory php 
   plug in.
 * Just on the old WP System Health this issue is not present but I have removed
   this plug in as is not updated in the last two years.
 * I will look for a solution for this, any plug in who can solve this issue… thanks
   again.
    I will look for a solution. Alternative plug in or to understand how 
   to solve this.

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

The topic ‘Issue with PHP Memory limit’ is closed to new replies.

 * ![](https://ps.w.org/wp-serverinfo/assets/icon.svg?rev=978065)
 * [WP-ServerInfo](https://wordpress.org/plugins/wp-serverinfo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-serverinfo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-serverinfo/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-serverinfo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-serverinfo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-serverinfo/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [peopleinside](https://wordpress.org/support/users/peopleinside/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/issue-with-php-memory-limit/#post-7097059)
 * Status: resolved