My Wordpress installation on a shared hoster is constantly running out of memory:
The error pops up at seemingly random, for example when uploading photos or sometimes without doing anything just browsing the Admin area.
It is a very fresh installation (with little content and traffic), I receive this error no matter which Theme and which plugins I use.
I already added these lines to my config:
.htaccess
php_value memory_limit 128M
wp_config.php
define('WP_MEMORY_LIMIT', '128M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
My PHP Limit seems sufficient:
PHP Memory Limit:
memory_limit 512M 512M
HOWEVER after all this my memory monitor plugin still says:
WordPress Memory Limit: 40M
Do I have to do anything else to apply these changes?