WP_MEMORY_LIMIT has no effect / PHP has memory
-
I am running on a dedicated host that I have configured to allow 256M of memory for PHP. I have confirmed this change by running phpinfo() in the root directory of my WP installation.
I have added the following line to my wp-config.php:
define( ‘WP_MEMORY_LIMIT’, ‘128M’ );
I am using Server IP & Memory Usage Display and it shows this:
Memory: 55.08 of 256 MB (22%) | WP LIMIT: 128 MB
I can change WP_MEMORY_LIMIT in wp-config.php and the new number is reflected in the above status line but appears to have no impact on the actual available memory (which appears to be 64 MB).
I can even set WP_MEMORY_LIMIT to a ridiculously low number and nothing appears to actually change other than the value reported by the memory display:
Memory: 55.09 of 256 MB (22%) | WP LIMIT: 4 MB
I have also checked for stray .htaccess and php.ini files but there are none.
I’ve been at this for days – any help would be greatly appreciated.
- The topic ‘WP_MEMORY_LIMIT has no effect / PHP has memory’ is closed to new replies.